Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001147/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001259/0.001259, allocations: 196.9 kB / 16.14 MB, free: 6.648 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.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.47 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3064, allocations: 157.4 MB / 1.052 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.04749/0.3539, allocations: 49.48 MB / 1.1 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01801/0.372, allocations: 12.71 MB / 1.113 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003326/0.3753, allocations: 71.5 kB / 1.113 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.3778, allocations: 0.6214 MB / 1.113 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005745/0.3836, allocations: 1.699 MB / 1.115 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003852/0.3875, allocations: 1.211 MB / 1.116 GB, free: 6.922 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005746/0.3932, allocations: 4.367 MB / 1.121 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001937/0.3952, allocations: 1.078 MB / 1.122 GB, free: 1.441 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/0.3981, allocations: 1.124 MB / 1.123 GB, free: 320 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.4001, allocations: 0.9446 MB / 1.124 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.4003, allocations: 60 kB / 1.124 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.4031, allocations: 1.06 MB / 1.125 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.4034, allocations: 262.8 kB / 1.125 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008443/0.4043, allocations: 0.6293 MB / 1.126 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00327/0.4076, allocations: 1.916 MB / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4076, allocations: 0 / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4076, allocations: 0 / 1.127 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.514e-05/0.4076, allocations: 0 / 1.127 GB, free: 11.43 MB / 0.8887 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.003004/0.4107, allocations: 1.697 MB / 1.129 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4107, allocations: 12.03 kB / 1.129 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006791/0.4114, allocations: 203.1 kB / 1.129 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.4133, allocations: 1.092 MB / 1.13 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003554/0.4137, allocations: 126.2 kB / 1.131 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4138, allocations: 84 kB / 1.131 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.4157, allocations: 0.9855 MB / 1.132 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.4157, allocations: 0 / 1.132 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/0.4158, allocations: 36 kB / 1.132 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.4158, allocations: 24 kB / 1.132 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.4173, allocations: 0.6594 MB / 1.132 GB, free: 6.344 MB / 0.8887 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.005187/0.4225, allocations: 4.415 MB / 1.137 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.4237, allocations: 410.5 kB / 1.137 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.4243, allocations: 224.7 kB / 1.137 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008969/0.4252, allocations: 1.148 MB / 1.138 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.4252, allocations: 38.56 kB / 1.138 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=29): time 5.16e-06/0.4252, allocations: 4 kB / 1.138 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29): time 0.002883/0.4281, allocations: 1.096 MB / 1.139 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.4282, allocations: 59.34 kB / 1.139 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.4293, allocations: 0.9279 MB / 1.14 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.4294, allocations: 37.64 kB / 1.14 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.4298, allocations: 0.5773 MB / 1.141 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4299, allocations: 110.5 kB / 1.141 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.4301, allocations: 106.1 kB / 1.141 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4302, allocations: 329.9 kB / 1.142 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.4308, allocations: 197 kB / 1.142 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/0.4314, allocations: 378.9 kB / 1.142 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.4326, allocations: 0.5681 MB / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.4326, allocations: 0 / 1.143 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001687/0.4343, allocations: 0.7364 MB / 1.143 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.4344, allocations: 5.094 kB / 1.143 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4344, allocations: 8.719 kB / 1.143 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007338/0.4351, allocations: 162.3 kB / 1.144 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/0.4357, allocations: 143.8 kB / 1.144 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.4369, allocations: 1.716 MB / 1.145 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008392/0.4378, allocations: 99.5 kB / 1.145 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.4378, allocations: 31.98 kB / 1.145 GB, free: 7.957 MB / 0.9044 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.0004871/0.4383, allocations: 267.5 kB / 1.146 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.4385, allocations: 114.6 kB / 1.146 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.4404, allocations: 0.7307 MB / 1.147 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.4405, allocations: 15.92 kB / 1.147 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4405, allocations: 0 / 1.147 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.4405, allocations: 4 kB / 1.147 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003121/0.4436, allocations: 1.64 MB / 1.148 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.4436, allocations: 4 kB / 1.148 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.4441, allocations: 88.09 kB / 1.148 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005919/0.4447, allocations: 158.5 kB / 1.148 GB, free: 4.824 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.4448, allocations: 12.06 kB / 1.148 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.4458, allocations: 1.708 MB / 1.15 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4458, allocations: 0 / 1.15 GB, free: 3.027 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.4475, allocations: 0.7877 MB / 1.151 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/0.4481, allocations: 247.5 kB / 1.151 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4482, allocations: 8 kB / 1.151 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.4488, allocations: 71.91 kB / 1.151 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.4489, allocations: 27.91 kB / 1.151 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.449, allocations: 19.98 kB / 1.151 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008216/0.4498, allocations: 0.6381 MB / 1.152 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4498, allocations: 3.938 kB / 1.152 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001105/0.4509, allocations: 371.1 kB / 1.152 GB, free: 0.7969 MB / 0.9044 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.001016/0.452, allocations: 384.8 kB / 1.153 GB, free: 428 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.4537, allocations: 0.5397 MB / 1.153 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4537, allocations: 0 / 1.153 GB, free: 15.88 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008299/0.4545, allocations: 300.7 kB / 1.153 GB, free: 15.59 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.457, allocations: 0.4919 MB / 1.154 GB, free: 15.1 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.4606, allocations: 2.253 MB / 1.156 GB, free: 12.8 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.4613, allocations: 1.103 MB / 1.157 GB, free: 11.67 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00082/0.4621, allocations: 175.9 kB / 1.157 GB, free: 11.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.4623, allocations: 67.42 kB / 1.157 GB, free: 11.43 MB / 0.92 GB Notification: Performance of SimCode: time 9.42e-07/0.4623, allocations: 0 / 1.157 GB, free: 11.43 MB / 0.92 GB Notification: Performance of Templates: time 0.03689/0.4992, allocations: 19.15 MB / 1.176 GB, free: 8.512 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches