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.0009554/0.0009554, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001636/0.001636, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9564/0.9564, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.407/2.407, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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 2.084e-06/2.084e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.549e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.01731/0.01734, allocations: 15.75 MB / 0.9051 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.009865/0.0272, allocations: 5.985 MB / 0.911 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.02846, allocations: 107.1 kB / 0.9111 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007947/0.02926, allocations: 448.4 kB / 0.9115 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.03149, allocations: 1.169 MB / 0.9127 GB, free: 2.211 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.03353, allocations: 1.351 MB / 0.914 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002415/0.03594, allocations: 3.197 MB / 0.9171 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008125/0.03676, allocations: 0.9482 MB / 0.918 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.03866, allocations: 1.629 MB / 0.9196 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/0.03933, allocations: 0.7981 MB / 0.9204 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.03944, allocations: 96 kB / 0.9205 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006801/0.04012, allocations: 487 kB / 0.9209 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.04032, allocations: 314.5 kB / 0.9212 GB, free: 9.402 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.04062, allocations: 462.8 kB / 0.9217 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.04164, allocations: 1.214 MB / 0.9229 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.04164, allocations: 0 / 0.9229 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.112e-06/0.04164, allocations: 0 / 0.9229 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.04165, allocations: 0 / 0.9229 GB, free: 7.73 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001399/0.04305, allocations: 1.696 MB / 0.9245 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.04309, allocations: 8.625 kB / 0.9245 GB, free: 5.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003605/0.04345, allocations: 275.9 kB / 0.9248 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008239/0.04428, allocations: 0.8789 MB / 0.9257 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.04432, allocations: 66.38 kB / 0.9257 GB, free: 4.719 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.909e-05/0.04439, allocations: 88.36 kB / 0.9258 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.04514, allocations: 0.9111 MB / 0.9267 GB, free: 3.578 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.04515, allocations: 7.938 kB / 0.9267 GB, free: 3.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.0452, allocations: 36 kB / 0.9267 GB, free: 3.535 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.04521, allocations: 24 kB / 0.9268 GB, free: 3.512 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/0.04549, allocations: 253.5 kB / 0.927 GB, free: 3.266 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.002866/0.04836, allocations: 4.667 MB / 0.9316 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.04866, allocations: 175.2 kB / 0.9317 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.04874, allocations: 63.66 kB / 0.9318 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.04884, allocations: 35.55 kB / 0.9318 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.04887, allocations: 33.39 kB / 0.9319 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.04887, allocations: 0 / 0.9319 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29): time 0.0008134/0.04968, allocations: 496.7 kB / 0.9323 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.04971, allocations: 51.41 kB / 0.9324 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/0.05026, allocations: 0.8228 MB / 0.9332 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.05029, allocations: 29.7 kB / 0.9332 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/0.05087, allocations: 0.6661 MB / 0.9339 GB, free: 12 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.05093, allocations: 107.1 kB / 0.934 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.05104, allocations: 127.7 kB / 0.9341 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.05116, allocations: 0.5002 MB / 0.9346 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.05125, allocations: 64.89 kB / 0.9346 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.05153, allocations: 498 kB / 0.9351 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.05185, allocations: 439.8 kB / 0.9355 GB, free: 9.996 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.05185, allocations: 0 / 0.9355 GB, free: 9.996 MB / 0.9011 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004999/0.05235, allocations: 492.2 kB / 0.936 GB, free: 9.496 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.05237, allocations: 13.86 kB / 0.936 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.05238, allocations: 4 kB / 0.936 GB, free: 9.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003233/0.0527, allocations: 130.9 kB / 0.9361 GB, free: 9.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.05294, allocations: 131.8 kB / 0.9363 GB, free: 9.211 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008043/0.05375, allocations: 2.427 MB / 0.9386 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.05397, allocations: 63.61 kB / 0.9387 GB, free: 6.625 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.05401, allocations: 36.02 kB / 0.9387 GB, free: 6.59 MB / 0.9011 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.0001647/0.05417, allocations: 192.4 kB / 0.9389 GB, free: 6.391 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.96e-05/0.05426, allocations: 107.3 kB / 0.939 GB, free: 6.285 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005426/0.05481, allocations: 427.6 kB / 0.9394 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.05481, allocations: 11.98 kB / 0.9394 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.05482, allocations: 0 / 0.9394 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.05482, allocations: 0 / 0.9394 GB, free: 5.836 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.05602, allocations: 1.02 MB / 0.9404 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.05603, allocations: 4.25 kB / 0.9404 GB, free: 4.746 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.05619, allocations: 75.88 kB / 0.9405 GB, free: 4.672 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.05642, allocations: 115 kB / 0.9406 GB, free: 4.547 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.05644, allocations: 12 kB / 0.9406 GB, free: 4.535 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007233/0.05717, allocations: 2.416 MB / 0.943 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.05717, allocations: 4 kB / 0.943 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.05762, allocations: 0.5714 MB / 0.9435 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.05779, allocations: 163.5 kB / 0.9437 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.05784, allocations: 11.94 kB / 0.9437 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.05804, allocations: 31.97 kB / 0.9437 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.05809, allocations: 27.94 kB / 0.9438 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.05812, allocations: 19.98 kB / 0.9438 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002942/0.05841, allocations: 490.2 kB / 0.9443 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.05841, allocations: 3.938 kB / 0.9443 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004866/0.0589, allocations: 311.1 kB / 0.9446 GB, free: 352 kB / 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.0002469/0.05915, allocations: 187 kB / 0.9447 GB, free: 152 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.05957, allocations: 292.4 kB / 0.945 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.05957, allocations: 0 / 0.945 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.05975, allocations: 153.2 kB / 0.9452 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009508/0.0607, allocations: 443.1 kB / 0.9456 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.06287, allocations: 1.663 MB / 0.9472 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.063, allocations: 215.5 kB / 0.9474 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002605/0.06326, allocations: 134.2 kB / 0.9475 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/0.06379, allocations: 397.9 kB / 0.9479 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.06379, allocations: 0 / 0.9479 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.02697/0.09076, allocations: 17.59 MB / 0.9651 GB, free: 11.61 MB / 0.9323 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: 5.878903738223016]