Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 197.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.504/2.504, allocations: 469.8 MB / 0.7424 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 66.55 kB / 0.9086 GB, free: 34.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2532, allocations: 159.1 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1825/0.4357, allocations: 171 MB / 1.231 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00613/0.4419, allocations: 4.285 MB / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.4423, allocations: 23.88 kB / 1.235 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008678/0.4432, allocations: 346 kB / 1.236 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.4452, allocations: 0.9954 MB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.447, allocations: 0.8096 MB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.4484, allocations: 1.298 MB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/0.4491, allocations: 483.3 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.4501, allocations: 0.6732 MB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009144/0.451, allocations: 459.7 kB / 1.24 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-05/0.4512, allocations: 52 kB / 1.24 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.4526, allocations: 0.9043 MB / 1.241 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002401/0.4528, allocations: 211.5 kB / 1.241 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.4532, allocations: 334.5 kB / 1.242 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.4545, allocations: 1.13 MB / 1.243 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4545, allocations: 0 / 1.243 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4545, allocations: 0 / 1.243 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.4546, allocations: 4 kB / 1.243 GB, free: 6.586 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00155/0.4561, allocations: 0.9467 MB / 1.244 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4562, allocations: 12.03 kB / 1.244 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.4563, allocations: 86.52 kB / 1.244 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.4579, allocations: 255 kB / 1.244 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000775/0.4586, allocations: 489.4 kB / 1.244 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003245/0.459, allocations: 84.94 kB / 1.245 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.4591, allocations: 43.98 kB / 1.245 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.4603, allocations: 0.6224 MB / 1.245 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4603, allocations: 0 / 1.245 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.4604, allocations: 20 kB / 1.245 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.4604, allocations: 20.98 kB / 1.245 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.4619, allocations: 0.5581 MB / 1.246 GB, free: 3.344 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.4658, allocations: 2.292 MB / 1.248 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009974/0.4668, allocations: 290.3 kB / 1.248 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005866/0.4674, allocations: 176.7 kB / 1.248 GB, free: 464 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.4674, allocations: 4 kB / 1.248 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.4675, allocations: 38.5 kB / 1.249 GB, free: 412 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.4675, allocations: 0 / 1.249 GB, free: 412 kB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.4082/0.8757, allocations: 1.098 MB / 1.25 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.8757, allocations: 86.34 kB / 1.25 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.8764, allocations: 0.5516 MB / 1.25 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.8764, allocations: 26.8 kB / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.8766, allocations: 309.6 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.8766, allocations: 37.39 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.8767, allocations: 63.03 kB / 1.251 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.8768, allocations: 356.3 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/0.8774, allocations: 192 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.8781, allocations: 277.9 kB / 1.251 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.8792, allocations: 411.6 kB / 1.252 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8792, allocations: 1.031 kB / 1.252 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002584/0.8818, allocations: 0.7404 MB / 1.253 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.8819, allocations: 10.03 kB / 1.253 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.8819, allocations: 3.375 kB / 1.253 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005839/0.8825, allocations: 178 kB / 1.253 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.8828, allocations: 79.75 kB / 1.253 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/0.8861, allocations: 2.227 MB / 1.255 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.8867, allocations: 73.19 kB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.8867, allocations: 12.59 kB / 1.255 GB, free: 186.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.8869, allocations: 198.5 kB / 1.255 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/0.887, allocations: 52.78 kB / 1.255 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.567e-05/0.8871, allocations: 48.47 kB / 1.255 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.8871, allocations: 5.375 kB / 1.255 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.8872, allocations: 0.6562 kB / 1.255 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.8872, allocations: 7.719 kB / 1.255 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/0.89, allocations: 1.141 MB / 1.256 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.89, allocations: 5.344 kB / 1.256 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.8902, allocations: 40.17 kB / 1.257 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.8907, allocations: 183.3 kB / 1.257 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.8907, allocations: 0 / 1.257 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/0.8937, allocations: 2.201 MB / 1.259 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.8937, allocations: 2.938 kB / 1.259 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.896, allocations: 0.7064 MB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.8962, allocations: 165.9 kB / 1.26 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.8963, allocations: 5.734 kB / 1.26 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.8968, allocations: 49.31 kB / 1.26 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.8969, allocations: 19.34 kB / 1.26 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.976e-05/0.8969, allocations: 15.69 kB / 1.26 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003685/0.8973, allocations: 393.4 kB / 1.26 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.8973, allocations: 0 / 1.26 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005445/0.8979, allocations: 189.6 kB / 1.26 GB, free: 184.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002771/0.9006, allocations: 1.326 MB / 1.262 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.9021, allocations: 0.5359 MB / 1.262 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9022, allocations: 2.281 kB / 1.262 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006814/0.9028, allocations: 306.6 kB / 1.262 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.9041, allocations: 312.8 kB / 1.263 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.9143, allocations: 5.163 MB / 1.268 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.9147, allocations: 0.8656 MB / 1.269 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005181/0.9152, allocations: 110.1 kB / 1.269 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.9154, allocations: 166.8 kB / 1.269 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.9154, allocations: 0 / 1.269 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.832/3.748, allocations: 16.76 MB / 1.285 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/20.7, allocations: 8.312 kB / 1.285 GB, free: 175.4 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches