Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.0009595/0.0009595, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.0009942/0.0009942, allocations: 173 kB / 23.5 MB, free: 1.047 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.9162/0.9162, allocations: 177.1 MB / 203.8 MB, free: 5.633 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 2.007/2.007, allocations: 429.5 MB / 0.6736 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.536e-05, allocations: 4.969 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02035/0.02037, allocations: 27.37 MB / 0.9049 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.008989/0.02936, allocations: 8.113 MB / 0.9128 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.0306, allocations: 51.56 kB / 0.9129 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000941/0.03154, allocations: 389.3 kB / 0.9133 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.03409, allocations: 1.232 MB / 0.9145 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.03636, allocations: 1.23 MB / 0.9157 GB, free: 180 kB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.03898, allocations: 2.204 MB / 0.9178 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007988/0.03978, allocations: 0.5032 MB / 0.9183 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.04174, allocations: 1.156 MB / 0.9194 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007634/0.04251, allocations: 0.4906 MB / 0.9199 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 9.637e-05/0.0426, allocations: 56 kB / 0.92 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.04377, allocations: 0.682 MB / 0.9206 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.04396, allocations: 191.2 kB / 0.9208 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.04425, allocations: 279.3 kB / 0.9211 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.04577, allocations: 0.9771 MB / 0.922 GB, free: 9.637 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.04578, allocations: 4 kB / 0.922 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.425e-06/0.04578, allocations: 3.984 kB / 0.922 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.04579, allocations: 0 / 0.922 GB, free: 9.629 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001214/0.04701, allocations: 1.136 MB / 0.9232 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.04705, allocations: 12.03 kB / 0.9232 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002851/0.04734, allocations: 132.3 kB / 0.9233 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009012/0.04824, allocations: 0.7028 MB / 0.924 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.04826, allocations: 41.38 kB / 0.924 GB, free: 7.543 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.04833, allocations: 56.31 kB / 0.9241 GB, free: 7.488 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.04884, allocations: 0.5505 MB / 0.9246 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.04886, allocations: 8 kB / 0.9246 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.0489, allocations: 16 kB / 0.9246 GB, free: 6.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.04893, allocations: 15.98 kB / 0.9246 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.04919, allocations: 169.8 kB / 0.9248 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.05102, allocations: 2.263 MB / 0.927 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.05124, allocations: 131 kB / 0.9271 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/0.05131, allocations: 55.66 kB / 0.9272 GB, free: 4.109 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.05145, allocations: 35.97 kB / 0.9272 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.05148, allocations: 41.39 kB / 0.9273 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=22): time 2.144e-06/0.05148, allocations: 0 / 0.9273 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22): time 0.0004039/0.05188, allocations: 225.5 kB / 0.9275 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.05191, allocations: 59.34 kB / 0.9275 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.05235, allocations: 0.5658 MB / 0.9281 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.05238, allocations: 37.7 kB / 0.9281 GB, free: 3.105 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.0526, allocations: 415.5 kB / 0.9285 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.05265, allocations: 83.28 kB / 0.9286 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-05/0.05274, allocations: 103.8 kB / 0.9287 GB, free: 2.496 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.05289, allocations: 0.5391 MB / 0.9292 GB, free: 1.945 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.243e-05/0.05298, allocations: 53.66 kB / 0.9293 GB, free: 1.891 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.0532, allocations: 438.3 kB / 0.9297 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.0535, allocations: 394.8 kB / 0.9301 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.05351, allocations: 0 / 0.9301 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004256/0.05393, allocations: 385.3 kB / 0.9304 GB, free: 436 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.05395, allocations: 11.94 kB / 0.9305 GB, free: 424 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.05396, allocations: 8 kB / 0.9305 GB, free: 416 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.05398, allocations: 12.03 kB / 0.9305 GB, free: 404 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.05418, allocations: 87.84 kB / 0.9306 GB, free: 316 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.0542, allocations: 15.92 kB / 0.9306 GB, free: 300 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.05441, allocations: 55.61 kB / 0.9306 GB, free: 244 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.05444, allocations: 24 kB / 0.9306 GB, free: 220 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001671/0.05461, allocations: 183.8 kB / 0.9308 GB, free: 32 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002287/0.05483, allocations: 434.4 kB / 0.9312 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002821/0.05512, allocations: 398.8 kB / 0.9316 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.015e-06/0.05512, allocations: 8 kB / 0.9316 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0004237/0.05554, allocations: 385 kB / 0.932 GB, free: 14.56 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.05556, allocations: 8 kB / 0.932 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.05556, allocations: 8 kB / 0.932 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.05557, allocations: 8 kB / 0.932 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.05573, allocations: 95.83 kB / 0.9321 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.05574, allocations: 11.98 kB / 0.9321 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.05594, allocations: 35.84 kB / 0.9322 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.05596, allocations: 20.28 kB / 0.9322 GB, free: 14.38 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 53 * 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.0001327/0.05609, allocations: 303.9 kB / 0.9325 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.05617, allocations: 75.5 kB / 0.9325 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.05647, allocations: 213.3 kB / 0.9327 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.05648, allocations: 4 kB / 0.9327 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.05649, allocations: 0 / 0.9327 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001903/0.05668, allocations: 309.4 kB / 0.933 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009374/0.05762, allocations: 0.8415 MB / 0.9339 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.05762, allocations: 0 / 0.9339 GB, free: 12.51 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.05775, allocations: 51.91 kB / 0.9339 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.05776, allocations: 4 kB / 0.9339 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.05778, allocations: 8 kB / 0.9339 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.05778, allocations: 4 kB / 0.9339 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.05779, allocations: 4 kB / 0.9339 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.05821, allocations: 486.5 kB / 0.9344 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.05834, allocations: 91.52 kB / 0.9345 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.05839, allocations: 11.98 kB / 0.9345 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.05855, allocations: 8 kB / 0.9345 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.05858, allocations: 35.83 kB / 0.9345 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.0586, allocations: 12 kB / 0.9345 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002599/0.05886, allocations: 371 kB / 0.9349 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.05886, allocations: 0 / 0.9349 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008073/0.05967, allocations: 375.1 kB / 0.9353 GB, free: 11.03 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004264/0.0601, allocations: 298.6 kB / 0.9355 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.06055, allocations: 347.8 kB / 0.9359 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.06055, allocations: 0 / 0.9359 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.93e-05/0.06064, allocations: 87.45 kB / 0.936 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.06154, allocations: 358.5 kB / 0.9363 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.06302, allocations: 1.026 MB / 0.9373 GB, free: 8.852 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.67e-05/0.06312, allocations: 142.1 kB / 0.9374 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003674/0.06349, allocations: 148.8 kB / 0.9376 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.06357, allocations: 60.48 kB / 0.9376 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of SimCode: time 1.653e-06/0.06357, allocations: 0 / 0.9376 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of Templates: time 0.01514/0.07871, allocations: 12.7 MB / 0.95 GB, free: 12.07 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.354065488092601]