Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007899/0.0007899, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8579/0.8579, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.754/1.754, allocations: 389 MB / 0.6338 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.92e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.6033/0.6033, allocations: 168.3 MB / 1.165 GB, free: 9.973 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.008365/0.6117, allocations: 5.419 MB / 1.171 GB, free: 6.289 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.6131, allocations: 53.75 kB / 1.171 GB, free: 6.262 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.6145, allocations: 0.5486 MB / 1.171 GB, free: 5.961 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003993/0.6185, allocations: 1.723 MB / 1.173 GB, free: 5 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.6214, allocations: 1.27 MB / 1.174 GB, free: 4.336 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.003386/0.6248, allocations: 2.602 MB / 1.177 GB, free: 3.129 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.6259, allocations: 0.7487 MB / 1.177 GB, free: 2.762 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002828/0.6287, allocations: 1.569 MB / 1.179 GB, free: 2.062 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/0.6308, allocations: 0.8018 MB / 1.18 GB, free: 1.809 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002725/0.631, allocations: 112 kB / 1.18 GB, free: 1.805 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.6344, allocations: 1.296 MB / 1.181 GB, free: 1.371 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0007937/0.6351, allocations: 0.532 MB / 1.182 GB, free: 1.133 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0009639/0.6361, allocations: 470.7 kB / 1.182 GB, free: 0.9414 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.6404, allocations: 2.225 MB / 1.184 GB, free: 184 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.6404, allocations: 3.422 kB / 1.184 GB, free: 184 kB / 1.026 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6404, allocations: 0 / 1.184 GB, free: 184 kB / 1.026 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.6404, allocations: 0 / 1.184 GB, free: 184 kB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002571/0.643, allocations: 1.469 MB / 1.186 GB, free: 15.24 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.643, allocations: 14.19 kB / 1.186 GB, free: 15.23 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.6448, allocations: 475.5 kB / 1.186 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.6463, allocations: 0.7816 MB / 1.187 GB, free: 14.69 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.6464, allocations: 65.94 kB / 1.187 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.6465, allocations: 88.05 kB / 1.187 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.6482, allocations: 1.551 MB / 1.189 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.6482, allocations: 5.859 kB / 1.189 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.916e-05/0.6483, allocations: 36.97 kB / 1.189 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.362e-05/0.6484, allocations: 39.34 kB / 1.189 GB, free: 13.67 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.6499, allocations: 1.06 MB / 1.19 GB, free: 13.35 MB / 1.042 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.004746/0.6547, allocations: 3.14 MB / 1.193 GB, free: 11.68 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.6558, allocations: 0.7257 MB / 1.193 GB, free: 11.43 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005328/0.6564, allocations: 391.3 kB / 1.194 GB, free: 11.31 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.6565, allocations: 22.67 kB / 1.194 GB, free: 11.31 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.6565, allocations: 46.19 kB / 1.194 GB, free: 11.27 MB / 1.042 GB Notification: Performance of pre-optimization done (n=43): time 2.815e-06/0.6565, allocations: 4 kB / 1.194 GB, free: 11.26 MB / 1.042 GB Notification: Performance of matching and sorting (n=45): time 0.003781/0.6603, allocations: 2.099 MB / 1.196 GB, free: 10.41 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.6603, allocations: 55.78 kB / 1.196 GB, free: 10.35 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.661, allocations: 0.6673 MB / 1.197 GB, free: 10.05 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-05/0.6611, allocations: 42.23 kB / 1.197 GB, free: 10.01 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.6613, allocations: 0.5073 MB / 1.197 GB, free: 9.605 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.6614, allocations: 163 kB / 1.197 GB, free: 9.477 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.6616, allocations: 124.8 kB / 1.197 GB, free: 9.41 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003964/0.662, allocations: 383.5 kB / 1.198 GB, free: 9.066 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/0.6625, allocations: 374.2 kB / 1.198 GB, free: 8.926 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.6631, allocations: 0.5425 MB / 1.199 GB, free: 8.531 MB / 1.042 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/0.6666, allocations: 2.183 MB / 1.201 GB, free: 7.418 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.6666, allocations: 1.219 kB / 1.201 GB, free: 7.418 MB / 1.042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001491/0.6681, allocations: 0.9733 MB / 1.202 GB, free: 6.926 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.6681, allocations: 8.438 kB / 1.202 GB, free: 6.926 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.6681, allocations: 2.688 kB / 1.202 GB, free: 6.926 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.6681, allocations: 5.656 kB / 1.202 GB, free: 6.926 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.6686, allocations: 190.8 kB / 1.202 GB, free: 6.871 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/0.6686, allocations: 12.16 kB / 1.202 GB, free: 6.867 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.6692, allocations: 65.25 kB / 1.202 GB, free: 6.836 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.6693, allocations: 29.92 kB / 1.202 GB, free: 6.828 MB / 1.042 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005098/0.6698, allocations: 312.6 kB / 1.202 GB, free: 6.594 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.6699, allocations: 80.09 kB / 1.202 GB, free: 6.555 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.67, allocations: 94.06 kB / 1.203 GB, free: 6.477 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.67, allocations: 5.344 kB / 1.203 GB, free: 6.477 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.67, allocations: 0 / 1.203 GB, free: 6.477 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/0.6711, allocations: 1.026 MB / 1.204 GB, free: 5.719 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.6736, allocations: 1.877 MB / 1.205 GB, free: 4.543 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.6736, allocations: 7.109 kB / 1.205 GB, free: 4.539 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.674, allocations: 160.8 kB / 1.206 GB, free: 4.492 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.674, allocations: 7.844 kB / 1.206 GB, free: 4.492 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.6741, allocations: 26.61 kB / 1.206 GB, free: 4.477 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.6741, allocations: 9.188 kB / 1.206 GB, free: 4.473 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6741, allocations: 4.438 kB / 1.206 GB, free: 4.473 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.6758, allocations: 1.393 MB / 1.207 GB, free: 3.641 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/0.6761, allocations: 161.7 kB / 1.207 GB, free: 3.539 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.6761, allocations: 9.594 kB / 1.207 GB, free: 3.535 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.6766, allocations: 70.28 kB / 1.207 GB, free: 3.504 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.6766, allocations: 43.44 kB / 1.207 GB, free: 3.477 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.135e-05/0.6767, allocations: 34.84 kB / 1.207 GB, free: 3.461 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003981/0.6771, allocations: 457.8 kB / 1.208 GB, free: 3.203 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6771, allocations: 2.219 kB / 1.208 GB, free: 3.203 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0007249/0.6778, allocations: 271.8 kB / 1.208 GB, free: 3.172 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (45): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000329/0.6781, allocations: 195.7 kB / 1.208 GB, free: 3.039 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.6793, allocations: 0.7874 MB / 1.209 GB, free: 2.672 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.6793, allocations: 6.375 kB / 1.209 GB, free: 2.668 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004775/0.6798, allocations: 383.9 kB / 1.209 GB, free: 2.492 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.6809, allocations: 442.2 kB / 1.21 GB, free: 2.277 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.684, allocations: 2.138 MB / 1.212 GB, free: 0.9375 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.6843, allocations: 0.5076 MB / 1.212 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.6846, allocations: 78.75 kB / 1.212 GB, free: 0.6211 MB / 1.042 GB Notification: Performance of SimCode: time 1.422e-06/0.6846, allocations: 0 / 1.212 GB, free: 0.6211 MB / 1.042 GB Notification: Performance of Templates: time 0.01749/0.7021, allocations: 15.55 MB / 1.228 GB, free: 3.324 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1] [Calling sys.exit(0), Time elapsed: 8.841846218332648]