Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 110.1 kB / 16.42 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.439/2.439, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 60.09 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7283, allocations: 151.7 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir): time 0.1926/0.9209, allocations: 188 MB / 1.351 GB, free: 7.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009891/0.9309, allocations: 6.31 MB / 1.357 GB, free: 0.8359 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/0.9326, allocations: 39.75 kB / 1.357 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.9342, allocations: 0.5205 MB / 1.358 GB, free: 280 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/0.9387, allocations: 1.868 MB / 1.359 GB, free: 14.4 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.9412, allocations: 0.9705 MB / 1.36 GB, free: 13.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003029/0.9442, allocations: 2.413 MB / 1.363 GB, free: 11.01 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009406/0.9452, allocations: 0.7279 MB / 1.363 GB, free: 10.27 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.9468, allocations: 0.9514 MB / 1.364 GB, free: 9.32 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.9482, allocations: 0.7258 MB / 1.365 GB, free: 8.598 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.9483, allocations: 80 kB / 1.365 GB, free: 8.52 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.9516, allocations: 1.863 MB / 1.367 GB, free: 6.652 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.952, allocations: 355 kB / 1.367 GB, free: 6.305 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005583/0.9526, allocations: 0.5016 MB / 1.368 GB, free: 5.801 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.9553, allocations: 1.928 MB / 1.37 GB, free: 3.867 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9553, allocations: 0 / 1.37 GB, free: 3.867 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9553, allocations: 4 kB / 1.37 GB, free: 3.863 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.9553, allocations: 0 / 1.37 GB, free: 3.863 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001857/0.9572, allocations: 1.285 MB / 1.371 GB, free: 2.527 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9572, allocations: 12.91 kB / 1.371 GB, free: 2.516 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.9593, allocations: 302.6 kB / 1.371 GB, free: 2.219 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.9605, allocations: 0.7565 MB / 1.372 GB, free: 1.418 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.9605, allocations: 45.31 kB / 1.372 GB, free: 1.375 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-05/0.9606, allocations: 60 kB / 1.372 GB, free: 1.316 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.9617, allocations: 0.6194 MB / 1.373 GB, free: 0.6875 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.9617, allocations: 7.938 kB / 1.373 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-05/0.9618, allocations: 31.92 kB / 1.373 GB, free: 0.6484 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.9618, allocations: 25.31 kB / 1.373 GB, free: 0.625 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009074/0.9627, allocations: 0.5517 MB / 1.373 GB, free: 76 kB / 1.092 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.003829/0.9666, allocations: 2.77 MB / 1.376 GB, free: 13.04 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008004/0.9674, allocations: 470.3 kB / 1.376 GB, free: 12.58 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.9677, allocations: 258.9 kB / 1.377 GB, free: 12.32 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.968, allocations: 101.5 kB / 1.377 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.968, allocations: 42.88 kB / 1.377 GB, free: 12.16 MB / 1.107 GB Notification: Performance of pre-optimization done (n=46): time 3.537e-06/0.968, allocations: 0 / 1.377 GB, free: 12.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=49): time 0.002912/0.9709, allocations: 1.54 MB / 1.378 GB, free: 10.56 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.971, allocations: 55.84 kB / 1.378 GB, free: 10.49 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/0.9716, allocations: 0.5587 MB / 1.379 GB, free: 9.926 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.9716, allocations: 37.7 kB / 1.379 GB, free: 9.883 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.9718, allocations: 356.4 kB / 1.379 GB, free: 9.527 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.972, allocations: 181.4 kB / 1.379 GB, free: 9.348 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.9721, allocations: 90.25 kB / 1.38 GB, free: 9.25 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.9723, allocations: 374.7 kB / 1.38 GB, free: 8.875 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/0.9726, allocations: 199 kB / 1.38 GB, free: 8.68 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.973, allocations: 286.5 kB / 1.38 GB, free: 8.371 MB / 1.107 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/0.9759, allocations: 1.256 MB / 1.382 GB, free: 7.074 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.9759, allocations: 4 kB / 1.382 GB, free: 7.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009769/0.9769, allocations: 0.6093 MB / 1.382 GB, free: 6.449 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9769, allocations: 7.938 kB / 1.382 GB, free: 6.441 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9769, allocations: 7.938 kB / 1.382 GB, free: 6.434 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001607/0.9771, allocations: 32.89 kB / 1.382 GB, free: 6.398 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.9777, allocations: 115.8 kB / 1.382 GB, free: 6.285 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.9793, allocations: 2.271 MB / 1.385 GB, free: 3.855 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/0.98, allocations: 19.91 kB / 1.385 GB, free: 3.836 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.9801, allocations: 19.98 kB / 1.385 GB, free: 3.816 MB / 1.107 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005776/0.9807, allocations: 397.1 kB / 1.385 GB, free: 3.426 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003538/0.981, allocations: 282.6 kB / 1.385 GB, free: 3.121 MB / 1.107 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002765/0.9838, allocations: 1.233 MB / 1.386 GB, free: 1.848 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/0.9838, allocations: 3.984 kB / 1.386 GB, free: 1.844 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.00094/0.9847, allocations: 0.5975 MB / 1.387 GB, free: 1.234 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.9848, allocations: 8 kB / 1.387 GB, free: 1.227 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9848, allocations: 8.203 kB / 1.387 GB, free: 1.219 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.9849, allocations: 36.84 kB / 1.387 GB, free: 1.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.9853, allocations: 103.8 kB / 1.387 GB, free: 1.078 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.9866, allocations: 1.678 MB / 1.389 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006885/0.9873, allocations: 19.98 kB / 1.389 GB, free: 15.24 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.9874, allocations: 16 kB / 1.389 GB, free: 15.23 MB / 1.123 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.9876, allocations: 220.1 kB / 1.389 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.9877, allocations: 71.16 kB / 1.389 GB, free: 14.93 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.9888, allocations: 0.5663 MB / 1.39 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008931/0.9897, allocations: 0.7997 MB / 1.39 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.9897, allocations: 3.938 kB / 1.39 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003438/0.99, allocations: 196.2 kB / 1.391 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.9901, allocations: 19.98 kB / 1.391 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.9907, allocations: 17.06 kB / 1.391 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.9908, allocations: 32.39 kB / 1.391 GB, free: 13.19 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001492/0.9923, allocations: 0.7081 MB / 1.391 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001269/0.9936, allocations: 0.9505 MB / 1.392 GB, free: 11.5 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003257/0.9939, allocations: 235.4 kB / 1.393 GB, free: 11.27 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004844/0.9944, allocations: 391.1 kB / 1.393 GB, free: 10.89 MB / 1.123 GB Notification: Performance of Backend: time 6.92e-07/0.9944, allocations: 0 / 1.393 GB, free: 10.89 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003143/0.9976, allocations: 1.304 MB / 1.394 GB, free: 9.57 MB / 1.123 GB Notification: Performance of SimCode: time 0.003735/1.001, allocations: 2.249 MB / 1.396 GB, free: 7.277 MB / 1.123 GB Notification: Performance of Templates: time 0.03303/1.034, allocations: 20.65 MB / 1.417 GB, free: 2.816 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches