Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.002021/0.002021, allocations: 79.44 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00227/0.00227, allocations: 162.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.641/1.641, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 3.022/3.022, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 1 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.311e-05, allocations: 6.219 kB / 1 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.8983/0.8984, allocations: 165.3 MB / 1.162 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.9146, allocations: 11.9 MB / 1.173 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.9163, allocations: 47.59 kB / 1.173 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.9178, allocations: 414.9 kB / 1.174 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.9208, allocations: 0.9798 MB / 1.175 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.923, allocations: 0.7664 MB / 1.175 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002527/0.9256, allocations: 1.491 MB / 1.177 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008866/0.9265, allocations: 463.1 kB / 1.177 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005159/0.9316, allocations: 2.037 MB / 1.179 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.9333, allocations: 459.2 kB / 1.18 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.9334, allocations: 53.31 kB / 1.18 GB, free: 14.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.9352, allocations: 0.7246 MB / 1.18 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.9356, allocations: 306.3 kB / 1.181 GB, free: 14.24 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004124/0.936, allocations: 257.7 kB / 1.181 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.9379, allocations: 1.172 MB / 1.182 GB, free: 13.74 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.938, allocations: 0 / 1.182 GB, free: 13.74 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.938, allocations: 1.281 kB / 1.182 GB, free: 13.74 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.938, allocations: 3.938 kB / 1.182 GB, free: 13.73 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001711/0.9397, allocations: 0.9867 MB / 1.183 GB, free: 13.03 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.9397, allocations: 9.562 kB / 1.183 GB, free: 13.03 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.9408, allocations: 201.9 kB / 1.183 GB, free: 12.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/0.9417, allocations: 483.7 kB / 1.184 GB, free: 12.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.9418, allocations: 46.53 kB / 1.184 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.566e-05/0.9419, allocations: 54.16 kB / 1.184 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.9434, allocations: 0.7969 MB / 1.185 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.9434, allocations: 8.078 kB / 1.185 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.526e-05/0.9435, allocations: 30.69 kB / 1.185 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.705e-05/0.9435, allocations: 21.88 kB / 1.185 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.9446, allocations: 460.7 kB / 1.185 GB, free: 11.91 MB / 1.014 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.004404/0.949, allocations: 3.846 MB / 1.189 GB, free: 8.559 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.9491, allocations: 104.3 kB / 1.189 GB, free: 8.445 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.9493, allocations: 68.27 kB / 1.189 GB, free: 8.402 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.9494, allocations: 25.69 kB / 1.189 GB, free: 8.395 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.9494, allocations: 32.78 kB / 1.189 GB, free: 8.355 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 4.228e-06/0.9494, allocations: 9.141 kB / 1.189 GB, free: 8.348 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0005685/0.95, allocations: 205.5 kB / 1.189 GB, free: 8.25 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/0.9501, allocations: 134 kB / 1.189 GB, free: 8.094 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.951, allocations: 0.5876 MB / 1.19 GB, free: 7.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.951, allocations: 27.33 kB / 1.19 GB, free: 7.789 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.9513, allocations: 428.4 kB / 1.19 GB, free: 7.449 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.9514, allocations: 47.48 kB / 1.19 GB, free: 7.414 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.9515, allocations: 88.36 kB / 1.191 GB, free: 7.363 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.9517, allocations: 361.9 kB / 1.191 GB, free: 7.027 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.952, allocations: 111.9 kB / 1.191 GB, free: 7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/0.9526, allocations: 0.5127 MB / 1.192 GB, free: 6.461 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.9533, allocations: 436.3 kB / 1.192 GB, free: 6.078 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.9533, allocations: 2.438 kB / 1.192 GB, free: 6.078 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009545/0.9542, allocations: 490.9 kB / 1.192 GB, free: 5.879 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.9542, allocations: 14.53 kB / 1.192 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.9543, allocations: 6.875 kB / 1.192 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/0.9543, allocations: 11 kB / 1.192 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.9546, allocations: 102.1 kB / 1.193 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.9546, allocations: 13.16 kB / 1.193 GB, free: 5.859 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/0.9552, allocations: 76.95 kB / 1.193 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.9553, allocations: 26.41 kB / 1.193 GB, free: 5.828 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002919/0.9555, allocations: 231.7 kB / 1.193 GB, free: 5.656 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.9557, allocations: 55.89 kB / 1.193 GB, free: 5.625 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.103e-05/0.9558, allocations: 56.58 kB / 1.193 GB, free: 5.594 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.9558, allocations: 6.531 kB / 1.193 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.9558, allocations: 1.312 kB / 1.193 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.9558, allocations: 0 / 1.193 GB, free: 5.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.9572, allocations: 0.9925 MB / 1.194 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9572, allocations: 1.406 kB / 1.194 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.338e-05/0.9573, allocations: 21.34 kB / 1.194 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.9573, allocations: 3.031 kB / 1.194 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.9573, allocations: 2.781 kB / 1.194 GB, free: 4.828 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.9573, allocations: 10.31 kB / 1.194 GB, free: 4.82 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9573, allocations: 3.906 kB / 1.194 GB, free: 4.82 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.9576, allocations: 236.4 kB / 1.194 GB, free: 4.629 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.9578, allocations: 73.53 kB / 1.194 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.9578, allocations: 3.781 kB / 1.194 GB, free: 4.586 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.9581, allocations: 19.88 kB / 1.194 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.9581, allocations: 17.91 kB / 1.194 GB, free: 4.574 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.9581, allocations: 8.625 kB / 1.194 GB, free: 4.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000592/0.9587, allocations: 401.3 kB / 1.195 GB, free: 4.398 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9587, allocations: 0 / 1.195 GB, free: 4.398 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007259/0.9594, allocations: 183.8 kB / 1.195 GB, free: 4.352 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0005204/0.96, allocations: 192.9 kB / 1.195 GB, free: 4.23 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000525/0.9605, allocations: 235.4 kB / 1.195 GB, free: 4.156 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.9605, allocations: 1.062 kB / 1.195 GB, free: 4.156 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.9606, allocations: 54.58 kB / 1.195 GB, free: 4.137 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009747/0.9616, allocations: 198.4 kB / 1.196 GB, free: 4.074 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.9632, allocations: 1.003 MB / 1.197 GB, free: 3.465 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.9635, allocations: 338.8 kB / 1.197 GB, free: 3.348 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002952/0.9638, allocations: 106.4 kB / 1.197 GB, free: 3.328 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.9639, allocations: 35.69 kB / 1.197 GB, free: 3.32 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/0.9639, allocations: 0 / 1.197 GB, free: 3.32 MB / 1.014 GB Notification: Performance of Templates: time 0.0147/0.9786, allocations: 7.423 MB / 1.204 GB, free: 15.87 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.641907792538404]