Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001372/0.001372, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.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.615/2.615, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 63.91 kB / 0.8685 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7356, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05148/0.7872, allocations: 49.48 MB / 1.065 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.8054, allocations: 12.71 MB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.8079, allocations: 71.56 kB / 1.077 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002265/0.8103, allocations: 0.6291 MB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005417/0.8157, allocations: 1.695 MB / 1.08 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003842/0.8196, allocations: 1.205 MB / 1.081 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005353/0.8249, allocations: 4.368 MB / 1.085 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.8266, allocations: 1.071 MB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003698/0.8303, allocations: 1.124 MB / 1.087 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.8329, allocations: 0.9485 MB / 1.088 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005542/0.8335, allocations: 60 kB / 1.088 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004701/0.8382, allocations: 1.056 MB / 1.089 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009256/0.8392, allocations: 262.8 kB / 1.09 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001976/0.8412, allocations: 0.6371 MB / 1.09 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.004112/0.8453, allocations: 1.908 MB / 1.092 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.8453, allocations: 4 kB / 1.092 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8453, allocations: 0 / 1.092 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.193e-05/0.8454, allocations: 0 / 1.092 GB, free: 5.273 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003468/0.8489, allocations: 1.693 MB / 1.094 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.849, allocations: 19.92 kB / 1.094 GB, free: 3.508 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007473/0.8497, allocations: 207.1 kB / 1.094 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.8518, allocations: 1.085 MB / 1.095 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003492/0.8521, allocations: 130.2 kB / 1.095 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.8522, allocations: 80 kB / 1.095 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.854, allocations: 0.9806 MB / 1.096 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.854, allocations: 7.938 kB / 1.096 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/0.8541, allocations: 39.94 kB / 1.096 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.8541, allocations: 24 kB / 1.096 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.8556, allocations: 0.6517 MB / 1.097 GB, free: 192 kB / 0.8419 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.004801/0.8604, allocations: 4.411 MB / 1.101 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.8615, allocations: 420.5 kB / 1.102 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005232/0.8621, allocations: 224.6 kB / 1.102 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009377/0.863, allocations: 1.148 MB / 1.103 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.8631, allocations: 34.56 kB / 1.103 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.8631, allocations: 0 / 1.103 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.002905/0.866, allocations: 1.088 MB / 1.104 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.866, allocations: 59.34 kB / 1.104 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.8672, allocations: 0.9356 MB / 1.105 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.8672, allocations: 41.64 kB / 1.105 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.8677, allocations: 0.5773 MB / 1.106 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.136e-05/0.8678, allocations: 98.66 kB / 1.106 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.8679, allocations: 114 kB / 1.106 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.868, allocations: 322 kB / 1.106 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005204/0.8686, allocations: 193 kB / 1.106 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.8692, allocations: 382.8 kB / 1.107 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.8704, allocations: 0.5692 MB / 1.107 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8704, allocations: 4 kB / 1.107 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001515/0.8719, allocations: 0.7364 MB / 1.108 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.8719, allocations: 10.03 kB / 1.108 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.872, allocations: 8 kB / 1.108 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006731/0.8726, allocations: 159.1 kB / 1.108 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.8732, allocations: 147.8 kB / 1.108 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.8743, allocations: 1.712 MB / 1.11 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/0.875, allocations: 107.4 kB / 1.11 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.8751, allocations: 31.98 kB / 1.11 GB, free: 1.797 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003736/0.8754, allocations: 261.6 kB / 1.11 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.8756, allocations: 110.6 kB / 1.11 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.8774, allocations: 0.7343 MB / 1.111 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.8774, allocations: 7.938 kB / 1.111 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8774, allocations: 0 / 1.111 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.8774, allocations: 3.984 kB / 1.111 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.8803, allocations: 1.64 MB / 1.113 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.8803, allocations: 0 / 1.113 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.8808, allocations: 96.03 kB / 1.113 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.8813, allocations: 150.4 kB / 1.113 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.8814, allocations: 8 kB / 1.113 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.8825, allocations: 1.72 MB / 1.115 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8825, allocations: 4.219 kB / 1.115 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.8841, allocations: 0.7916 MB / 1.115 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.8845, allocations: 247.5 kB / 1.116 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.8846, allocations: 12 kB / 1.116 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/0.8853, allocations: 71.86 kB / 1.116 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.8854, allocations: 39.83 kB / 1.116 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.8854, allocations: 15.98 kB / 1.116 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008451/0.8863, allocations: 0.6342 MB / 1.116 GB, free: 11 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8863, allocations: 4 kB / 1.116 GB, free: 11 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001218/0.8875, allocations: 363.1 kB / 1.117 GB, free: 10.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008412/0.8884, allocations: 367.7 kB / 1.117 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.89, allocations: 0.5436 MB / 1.118 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.89, allocations: 4 kB / 1.118 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000805/0.8908, allocations: 301.1 kB / 1.118 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002382/0.8932, allocations: 0.5038 MB / 1.118 GB, free: 8.945 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.8969, allocations: 2.249 MB / 1.121 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.8977, allocations: 1.103 MB / 1.122 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007711/0.8985, allocations: 183.8 kB / 1.122 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.8987, allocations: 71.42 kB / 1.122 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of SimCode: time 8.01e-07/0.8987, allocations: 0 / 1.122 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of Templates: time 0.03267/0.9313, allocations: 19.12 MB / 1.141 GB, free: 2.406 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches