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.0009897/0.0009898, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008731/0.008732, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.68/2.68, allocations: 437.8 MB / 0.7121 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 12.28 kB / 0.8728 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7406/0.7411, allocations: 153.8 MB / 1.023 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04973/0.7909, allocations: 48.45 MB / 1.07 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01916/0.8101, allocations: 12.59 MB / 1.083 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003288/0.8134, allocations: 71.5 kB / 1.083 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002577/0.816, allocations: 0.6096 MB / 1.083 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.006218/0.8222, allocations: 1.699 MB / 1.085 GB, free: 468 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003826/0.8261, allocations: 1.203 MB / 1.086 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006201/0.8323, allocations: 4.372 MB / 1.09 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.8341, allocations: 1.033 MB / 1.091 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/0.8371, allocations: 1.065 MB / 1.092 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002111/0.8392, allocations: 0.9016 MB / 1.093 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003353/0.8396, allocations: 40 kB / 1.093 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002888/0.8425, allocations: 1.041 MB / 1.094 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.843, allocations: 222.9 kB / 1.095 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.8441, allocations: 0.627 MB / 1.095 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.8476, allocations: 1.865 MB / 1.097 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8476, allocations: 3.938 kB / 1.097 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8476, allocations: 0 / 1.097 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.542e-05/0.8477, allocations: 4 kB / 1.097 GB, free: 4.016 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.002918/0.8506, allocations: 1.476 MB / 1.098 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.8506, allocations: 19.98 kB / 1.098 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007547/0.8514, allocations: 219.1 kB / 1.099 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.8536, allocations: 1.085 MB / 1.1 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/0.854, allocations: 134.2 kB / 1.1 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.8541, allocations: 87.94 kB / 1.1 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.856, allocations: 1 MB / 1.101 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.856, allocations: 4 kB / 1.101 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/0.8561, allocations: 36 kB / 1.101 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.8562, allocations: 20 kB / 1.101 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.8578, allocations: 0.6908 MB / 1.102 GB, free: 15.07 MB / 0.8575 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.005441/0.8632, allocations: 4.453 MB / 1.106 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.8645, allocations: 444.9 kB / 1.106 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/0.8652, allocations: 240.7 kB / 1.107 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009299/0.8661, allocations: 1.144 MB / 1.108 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.8662, allocations: 46.55 kB / 1.108 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=29): time 2.565e-06/0.8662, allocations: 0 / 1.108 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29): time 0.003109/0.8693, allocations: 1.146 MB / 1.109 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.8693, allocations: 59.34 kB / 1.109 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.8706, allocations: 0.9318 MB / 1.11 GB, free: 5.996 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.8707, allocations: 33.7 kB / 1.11 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/0.8712, allocations: 0.5812 MB / 1.111 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.8713, allocations: 102.5 kB / 1.111 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.8714, allocations: 45.7 kB / 1.111 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8715, allocations: 326 kB / 1.111 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.8721, allocations: 216.9 kB / 1.111 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007193/0.8728, allocations: 394.9 kB / 1.112 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.8741, allocations: 0.6082 MB / 1.112 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8741, allocations: 3.938 kB / 1.112 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001791/0.8759, allocations: 0.7678 MB / 1.113 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.8759, allocations: 8 kB / 1.113 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.8759, allocations: 4 kB / 1.113 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/0.8766, allocations: 163 kB / 1.113 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/0.8773, allocations: 155.8 kB / 1.113 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.8785, allocations: 1.723 MB / 1.115 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.8793, allocations: 119.5 kB / 1.115 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.175e-05/0.8793, allocations: 31.98 kB / 1.115 GB, free: 480 kB / 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.0004843/0.8798, allocations: 264.4 kB / 1.115 GB, free: 208 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.88, allocations: 114.5 kB / 1.115 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.882, allocations: 0.7593 MB / 1.116 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.902e-05/0.8821, allocations: 11.92 kB / 1.116 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8821, allocations: 0 / 1.116 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.8821, allocations: 0 / 1.116 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.8852, allocations: 1.684 MB / 1.118 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/0.8853, allocations: 4 kB / 1.118 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.8858, allocations: 112 kB / 1.118 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005742/0.8863, allocations: 154.4 kB / 1.118 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.8864, allocations: 11.98 kB / 1.118 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.8876, allocations: 1.716 MB / 1.12 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8876, allocations: 0 / 1.12 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.8893, allocations: 0.8229 MB / 1.121 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.8897, allocations: 243.6 kB / 1.121 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.8899, allocations: 11.98 kB / 1.121 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/0.8906, allocations: 87.86 kB / 1.121 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.8907, allocations: 32.03 kB / 1.121 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.8908, allocations: 23.97 kB / 1.121 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009469/0.8918, allocations: 0.6264 MB / 1.122 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8918, allocations: 0 / 1.122 GB, free: 9.555 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001214/0.893, allocations: 367.1 kB / 1.122 GB, free: 9.195 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.0009161/0.8939, allocations: 395.7 kB / 1.122 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.8957, allocations: 0.5749 MB / 1.123 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8957, allocations: 0 / 1.123 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009153/0.8966, allocations: 312 kB / 1.123 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.8994, allocations: 0.4958 MB / 1.124 GB, free: 7.434 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.9031, allocations: 2.313 MB / 1.126 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008252/0.9039, allocations: 1.103 MB / 1.127 GB, free: 3.953 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007938/0.9047, allocations: 187.9 kB / 1.127 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.9049, allocations: 67.42 kB / 1.127 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/0.9049, allocations: 0 / 1.127 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of Templates: time 0.03262/0.9375, allocations: 19.05 MB / 1.146 GB, free: 0.9062 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