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.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.0009606/0.0009606, allocations: 89.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001318/0.001318, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.13/2.13, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.938e-05, allocations: 3.562 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.01297/0.01299, allocations: 15.99 MB / 0.8938 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008274/0.02126, allocations: 6.009 MB / 0.8997 GB, free: 236 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.0224, allocations: 111.1 kB / 0.8998 GB, free: 124 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008263/0.02323, allocations: 452.4 kB / 0.9002 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.02505, allocations: 1.169 MB / 0.9013 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.02743, allocations: 1.346 MB / 0.9026 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002919/0.03035, allocations: 3.18 MB / 0.9058 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.03137, allocations: 0.9521 MB / 0.9067 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.03332, allocations: 1.499 MB / 0.9081 GB, free: 7.508 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008403/0.03416, allocations: 0.8137 MB / 0.9089 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.03429, allocations: 96 kB / 0.909 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000719/0.03501, allocations: 0.4951 MB / 0.9095 GB, free: 6.102 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.03523, allocations: 318.5 kB / 0.9098 GB, free: 5.789 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.03561, allocations: 466.8 kB / 0.9103 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.03682, allocations: 1.242 MB / 0.9115 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.03682, allocations: 0 / 0.9115 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.202e-06/0.03682, allocations: 0 / 0.9115 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.03684, allocations: 0 / 0.9115 GB, free: 4.086 MB / 0.8698 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.001656/0.03849, allocations: 1.689 MB / 0.9131 GB, free: 2.352 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.03853, allocations: 8.031 kB / 0.9131 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004094/0.03894, allocations: 275.9 kB / 0.9134 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.04014, allocations: 1.045 MB / 0.9144 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.04019, allocations: 62.38 kB / 0.9145 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-05/0.04026, allocations: 84.38 kB / 0.9146 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.04131, allocations: 0.9619 MB / 0.9155 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.04133, allocations: 7.938 kB / 0.9155 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.04138, allocations: 36 kB / 0.9155 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.0414, allocations: 20 kB / 0.9156 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004625/0.04186, allocations: 315.5 kB / 0.9159 GB, free: 15.36 MB / 0.8855 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.003085/0.04495, allocations: 4.832 MB / 0.9206 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.04537, allocations: 187.3 kB / 0.9208 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.04548, allocations: 76.14 kB / 0.9208 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.0456, allocations: 31.92 kB / 0.9209 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.04563, allocations: 37.39 kB / 0.9209 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=29): time 1.713e-06/0.04563, allocations: 4 kB / 0.9209 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29): time 0.0009737/0.04661, allocations: 0.5014 MB / 0.9214 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.04663, allocations: 59.41 kB / 0.9214 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.04732, allocations: 0.8389 MB / 0.9223 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.04735, allocations: 33.7 kB / 0.9223 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.04768, allocations: 0.6507 MB / 0.9229 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.04774, allocations: 111.1 kB / 0.923 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.04786, allocations: 119.7 kB / 0.9232 GB, free: 7.637 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.04798, allocations: 0.4964 MB / 0.9236 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.0481, allocations: 64.95 kB / 0.9237 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.04839, allocations: 0.498 MB / 0.9242 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.04877, allocations: 454.4 kB / 0.9246 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.04877, allocations: 0 / 0.9246 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007531/0.04952, allocations: 0.5 MB / 0.9251 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.04954, allocations: 8 kB / 0.9251 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.04955, allocations: 4 kB / 0.9251 GB, free: 5.316 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003767/0.04993, allocations: 135.4 kB / 0.9252 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.05021, allocations: 123.8 kB / 0.9254 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008411/0.05105, allocations: 2.439 MB / 0.9277 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.05129, allocations: 71.64 kB / 0.9278 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.05133, allocations: 31.98 kB / 0.9278 GB, free: 2.414 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * 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.0001766/0.05151, allocations: 188.4 kB / 0.928 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.05161, allocations: 111.3 kB / 0.9281 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006459/0.05225, allocations: 461.5 kB / 0.9286 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.05226, allocations: 4 kB / 0.9286 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.05227, allocations: 0 / 0.9286 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.05228, allocations: 3.984 kB / 0.9286 GB, free: 1.637 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.05352, allocations: 1.191 MB / 0.9297 GB, free: 380 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.05352, allocations: 0 / 0.9297 GB, free: 380 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.05371, allocations: 63.94 kB / 0.9298 GB, free: 316 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002599/0.05397, allocations: 131.3 kB / 0.9299 GB, free: 172 kB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.05399, allocations: 15.98 kB / 0.9299 GB, free: 156 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009125/0.0549, allocations: 2.431 MB / 0.9323 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.05491, allocations: 4 kB / 0.9323 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/0.05545, allocations: 0.599 MB / 0.9329 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.05565, allocations: 163.1 kB / 0.9331 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.1e-05/0.0557, allocations: 8 kB / 0.9331 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.05592, allocations: 23.98 kB / 0.9331 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.05599, allocations: 35.94 kB / 0.9331 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.05602, allocations: 15.98 kB / 0.9331 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000425/0.05644, allocations: 0.5219 MB / 0.9337 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.05644, allocations: 0 / 0.9337 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005308/0.05697, allocations: 303.2 kB / 0.9339 GB, free: 11.89 MB / 0.9011 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.0002736/0.05725, allocations: 194.9 kB / 0.9341 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005308/0.05778, allocations: 305.6 kB / 0.9344 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.05778, allocations: 0 / 0.9344 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.05802, allocations: 167.4 kB / 0.9346 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.05904, allocations: 429.2 kB / 0.935 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.061, allocations: 1.666 MB / 0.9366 GB, free: 9.082 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.06113, allocations: 211.5 kB / 0.9368 GB, free: 8.855 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002966/0.06142, allocations: 164.5 kB / 0.937 GB, free: 8.691 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.06152, allocations: 64.48 kB / 0.937 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of SimCode: time 1.042e-06/0.06152, allocations: 0 / 0.937 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of Templates: time 0.01925/0.08076, allocations: 16.03 MB / 0.9527 GB, free: 8.984 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.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: 6.022785346023738]