Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0007895/0.0007895, allocations: 76.5 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.000751/0.000751, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8766/0.8766, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.75/1.75, 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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.857e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6458/0.6458, allocations: 168.2 MB / 1.165 GB, free: 10 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.007001/0.6528, allocations: 5.392 MB / 1.17 GB, free: 6.332 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000725/0.6535, allocations: 54.34 kB / 1.17 GB, free: 6.305 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.6547, allocations: 0.5555 MB / 1.171 GB, free: 5.996 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.6578, allocations: 1.714 MB / 1.173 GB, free: 5.043 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.6599, allocations: 1.26 MB / 1.174 GB, free: 4.395 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.6624, allocations: 2.568 MB / 1.176 GB, free: 3.199 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.6635, allocations: 0.7103 MB / 1.177 GB, free: 2.852 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002107/0.6657, allocations: 1.534 MB / 1.179 GB, free: 2.172 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.6672, allocations: 0.768 MB / 1.179 GB, free: 1.926 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.6673, allocations: 100.8 kB / 1.179 GB, free: 1.926 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.6694, allocations: 1.266 MB / 1.181 GB, free: 1.5 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0004631/0.6699, allocations: 0.516 MB / 1.181 GB, free: 1.273 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0005003/0.6704, allocations: 457 kB / 1.182 GB, free: 1.094 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/0.6727, allocations: 2.142 MB / 1.184 GB, free: 380 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6728, allocations: 1.25 kB / 1.184 GB, free: 380 kB / 1.026 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6728, allocations: 0 / 1.184 GB, free: 380 kB / 1.026 GB Notification: Performance of Transformations before backend: time 3.318e-05/0.6728, allocations: 0 / 1.184 GB, free: 380 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001932/0.6747, allocations: 1.433 MB / 1.185 GB, free: 15.43 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.6748, allocations: 10.72 kB / 1.185 GB, free: 15.43 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.6759, allocations: 331.5 kB / 1.185 GB, free: 15.35 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009587/0.6768, allocations: 0.7355 MB / 1.186 GB, free: 14.92 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.6769, allocations: 64.56 kB / 1.186 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.677, allocations: 91.41 kB / 1.186 GB, free: 14.86 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.6783, allocations: 1.474 MB / 1.188 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.6784, allocations: 5.031 kB / 1.188 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.405e-05/0.6784, allocations: 39.14 kB / 1.188 GB, free: 13.86 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.6785, allocations: 37.3 kB / 1.188 GB, free: 13.86 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.6795, allocations: 0.8266 MB / 1.189 GB, free: 13.59 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.003156/0.6826, allocations: 3.062 MB / 1.192 GB, free: 11.68 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/0.6831, allocations: 358.8 kB / 1.192 GB, free: 11.53 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.6833, allocations: 204.2 kB / 1.192 GB, free: 11.45 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.953e-05/0.6834, allocations: 21.09 kB / 1.192 GB, free: 11.45 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.6834, allocations: 37.97 kB / 1.192 GB, free: 11.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=36): time 1.303e-06/0.6834, allocations: 1.062 kB / 1.192 GB, free: 11.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=38): time 0.00176/0.6852, allocations: 1.249 MB / 1.193 GB, free: 10.75 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.6852, allocations: 59.78 kB / 1.193 GB, free: 10.68 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006911/0.6859, allocations: 0.7238 MB / 1.194 GB, free: 10.37 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.6859, allocations: 41.95 kB / 1.194 GB, free: 10.33 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.6863, allocations: 0.5206 MB / 1.195 GB, free: 9.91 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.6864, allocations: 138.6 kB / 1.195 GB, free: 9.801 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.6865, allocations: 119.9 kB / 1.195 GB, free: 9.738 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6866, allocations: 385.7 kB / 1.195 GB, free: 9.391 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.687, allocations: 235.7 kB / 1.196 GB, free: 9.32 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/0.6874, allocations: 475.3 kB / 1.196 GB, free: 8.961 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.001582/0.689, allocations: 1.144 MB / 1.197 GB, free: 8.402 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.689, allocations: 1.094 kB / 1.197 GB, free: 8.402 MB / 1.042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001045/0.69, allocations: 0.7436 MB / 1.198 GB, free: 8.105 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.69, allocations: 7.969 kB / 1.198 GB, free: 8.105 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.69, allocations: 9.125 kB / 1.198 GB, free: 8.105 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.6901, allocations: 12.45 kB / 1.198 GB, free: 8.102 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.6904, allocations: 149.8 kB / 1.198 GB, free: 8.082 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.6904, allocations: 8.906 kB / 1.198 GB, free: 8.082 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.6908, allocations: 62.47 kB / 1.198 GB, free: 8.066 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.6908, allocations: 33.56 kB / 1.198 GB, free: 8.055 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: 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 (74): * Single equations (assignments): 74 * 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.0003115/0.6911, allocations: 313.2 kB / 1.198 GB, free: 7.852 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.6912, allocations: 83.2 kB / 1.199 GB, free: 7.809 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.345e-05/0.6913, allocations: 80.41 kB / 1.199 GB, free: 7.762 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.6913, allocations: 7.344 kB / 1.199 GB, free: 7.758 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.6913, allocations: 1.031 kB / 1.199 GB, free: 7.758 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004819/0.6918, allocations: 0.6755 MB / 1.199 GB, free: 7.207 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.6933, allocations: 1.347 MB / 1.201 GB, free: 6.469 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.6933, allocations: 4.812 kB / 1.201 GB, free: 6.469 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.6935, allocations: 81.3 kB / 1.201 GB, free: 6.465 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.6935, allocations: 5.5 kB / 1.201 GB, free: 6.465 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.6936, allocations: 19.75 kB / 1.201 GB, free: 6.453 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.6936, allocations: 11.45 kB / 1.201 GB, free: 6.449 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6936, allocations: 4.719 kB / 1.201 GB, free: 6.449 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007513/0.6943, allocations: 0.8115 MB / 1.201 GB, free: 5.949 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.6945, allocations: 142.5 kB / 1.202 GB, free: 5.875 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.763e-05/0.6946, allocations: 10.88 kB / 1.202 GB, free: 5.871 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.6949, allocations: 45.75 kB / 1.202 GB, free: 5.855 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.6949, allocations: 33.64 kB / 1.202 GB, free: 5.836 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/0.695, allocations: 25.86 kB / 1.202 GB, free: 5.828 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0004646/0.6954, allocations: 0.4924 MB / 1.202 GB, free: 5.547 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.6954, allocations: 3.938 kB / 1.202 GB, free: 5.543 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0006035/0.696, allocations: 254.2 kB / 1.202 GB, free: 5.52 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.0002928/0.6963, allocations: 187.8 kB / 1.203 GB, free: 5.387 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000574/0.6969, allocations: 496.6 kB / 1.203 GB, free: 5.164 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6969, allocations: 0 / 1.203 GB, free: 5.164 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.6971, allocations: 190.4 kB / 1.203 GB, free: 5.074 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.6981, allocations: 441.7 kB / 1.204 GB, free: 4.863 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00215/0.7003, allocations: 1.792 MB / 1.205 GB, free: 3.656 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.7006, allocations: 0.506 MB / 1.206 GB, free: 3.355 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.7007, allocations: 60.81 kB / 1.206 GB, free: 3.344 MB / 1.042 GB Notification: Performance of SimCode: time 5.91e-07/0.7007, allocations: 0 / 1.206 GB, free: 3.344 MB / 1.042 GB Notification: Performance of Templates: time 0.01293/0.7137, allocations: 14.4 MB / 1.22 GB, free: 10.77 MB / 1.057 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.434844670817256]