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.001511/0.001511, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001626/0.001626, allocations: 211.4 kB / 23.01 MB, free: 4.57 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.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.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 2.928/2.928, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 62.16 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3095, allocations: 180.2 MB / 1.354 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2021/0.5116, allocations: 191.1 MB / 1.541 GB, free: 8.152 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01563/0.5272, allocations: 13.21 MB / 1.554 GB, free: 10.9 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008699/0.5281, allocations: 39.62 kB / 1.554 GB, free: 10.86 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.5293, allocations: 429.3 kB / 1.554 GB, free: 10.44 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.5313, allocations: 0.9644 MB / 1.555 GB, free: 9.469 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.533, allocations: 0.7471 MB / 1.556 GB, free: 8.727 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00182/0.5348, allocations: 1.528 MB / 1.557 GB, free: 7.191 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007476/0.5356, allocations: 0.4912 MB / 1.558 GB, free: 6.688 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003715/0.5393, allocations: 1.927 MB / 1.56 GB, free: 4.754 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.5406, allocations: 0.5228 MB / 1.56 GB, free: 4.234 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 9.143e-05/0.5406, allocations: 56 kB / 1.56 GB, free: 4.18 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/0.5422, allocations: 0.912 MB / 1.561 GB, free: 3.266 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.5425, allocations: 279.1 kB / 1.561 GB, free: 2.992 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0003866/0.5428, allocations: 386 kB / 1.562 GB, free: 2.613 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.5444, allocations: 1.183 MB / 1.563 GB, free: 1.426 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5444, allocations: 4 kB / 1.563 GB, free: 1.422 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5444, allocations: 0 / 1.563 GB, free: 1.422 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.5444, allocations: 4 kB / 1.563 GB, free: 1.418 MB / 1.248 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.001412/0.5458, allocations: 0.9983 MB / 1.564 GB, free: 392 kB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.5458, allocations: 8.031 kB / 1.564 GB, free: 384 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008713/0.5467, allocations: 195.2 kB / 1.564 GB, free: 188 kB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008645/0.5476, allocations: 495.8 kB / 1.564 GB, free: 15.68 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.5476, allocations: 45.31 kB / 1.565 GB, free: 15.63 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/0.5477, allocations: 56 kB / 1.565 GB, free: 15.57 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.5488, allocations: 0.775 MB / 1.565 GB, free: 14.69 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.5488, allocations: 4 kB / 1.565 GB, free: 14.68 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.5489, allocations: 31.94 kB / 1.565 GB, free: 14.65 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.5489, allocations: 24.94 kB / 1.565 GB, free: 14.63 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008519/0.5498, allocations: 463.3 kB / 1.566 GB, free: 14.18 MB / 1.264 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.00395/0.5537, allocations: 4.399 MB / 1.57 GB, free: 9.539 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.5538, allocations: 110.3 kB / 1.57 GB, free: 9.395 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.5539, allocations: 71.44 kB / 1.57 GB, free: 9.312 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.5541, allocations: 27.97 kB / 1.57 GB, free: 9.285 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.5541, allocations: 34.56 kB / 1.57 GB, free: 9.242 MB / 1.264 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.5541, allocations: 0 / 1.57 GB, free: 9.242 MB / 1.264 GB Notification: Performance of matching and sorting (n=10): time 0.0006355/0.5547, allocations: 257.1 kB / 1.571 GB, free: 8.984 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/0.5548, allocations: 132.5 kB / 1.571 GB, free: 8.824 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.5559, allocations: 0.8408 MB / 1.572 GB, free: 7.973 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.5559, allocations: 29.64 kB / 1.572 GB, free: 7.938 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.5562, allocations: 411.8 kB / 1.572 GB, free: 7.531 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.5562, allocations: 39.67 kB / 1.572 GB, free: 7.492 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.5564, allocations: 97.97 kB / 1.572 GB, free: 7.391 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5565, allocations: 325.9 kB / 1.572 GB, free: 7.066 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.5568, allocations: 112.7 kB / 1.573 GB, free: 6.957 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.5572, allocations: 361.7 kB / 1.573 GB, free: 6.488 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.5578, allocations: 433.5 kB / 1.573 GB, free: 5.957 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.5578, allocations: 4 kB / 1.573 GB, free: 5.953 MB / 1.264 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008632/0.5586, allocations: 0.5012 MB / 1.574 GB, free: 5.445 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5587, allocations: 12.03 kB / 1.574 GB, free: 5.434 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5587, allocations: 8 kB / 1.574 GB, free: 5.426 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.5587, allocations: 8 kB / 1.574 GB, free: 5.418 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.559, allocations: 91.83 kB / 1.574 GB, free: 5.328 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.559, allocations: 19.92 kB / 1.574 GB, free: 5.309 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.5596, allocations: 115.3 kB / 1.574 GB, free: 5.195 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.5596, allocations: 27.94 kB / 1.574 GB, free: 5.168 MB / 1.264 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.000242/0.5599, allocations: 230.2 kB / 1.574 GB, free: 4.934 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.56, allocations: 79.61 kB / 1.574 GB, free: 4.855 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.5601, allocations: 74.27 kB / 1.574 GB, free: 4.781 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5601, allocations: 8 kB / 1.574 GB, free: 4.773 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5601, allocations: 4 kB / 1.574 GB, free: 4.77 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5601, allocations: 0 / 1.574 GB, free: 4.77 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.5614, allocations: 1.092 MB / 1.575 GB, free: 3.594 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5614, allocations: 0 / 1.575 GB, free: 3.594 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.5615, allocations: 19.94 kB / 1.575 GB, free: 3.574 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5615, allocations: 4 kB / 1.576 GB, free: 3.57 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.5615, allocations: 11.94 kB / 1.576 GB, free: 3.559 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5615, allocations: 0 / 1.576 GB, free: 3.559 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5615, allocations: 4.312 kB / 1.576 GB, free: 3.555 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.5618, allocations: 276.6 kB / 1.576 GB, free: 3.238 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.562, allocations: 99.38 kB / 1.576 GB, free: 3.141 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.5621, allocations: 8 kB / 1.576 GB, free: 3.133 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.5624, allocations: 15.98 kB / 1.576 GB, free: 3.117 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.5624, allocations: 15.92 kB / 1.576 GB, free: 3.102 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.5624, allocations: 11.98 kB / 1.576 GB, free: 3.09 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007741/0.5632, allocations: 0.5849 MB / 1.576 GB, free: 2.508 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5632, allocations: 0 / 1.576 GB, free: 2.508 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0005117/0.5637, allocations: 155.8 kB / 1.577 GB, free: 2.355 MB / 1.264 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.0003562/0.5641, allocations: 177.9 kB / 1.577 GB, free: 2.184 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.5645, allocations: 233.2 kB / 1.577 GB, free: 1.957 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5646, allocations: 0 / 1.577 GB, free: 1.957 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 6.607e-05/0.5646, allocations: 43.86 kB / 1.577 GB, free: 1.914 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.566, allocations: 377.9 kB / 1.577 GB, free: 1.555 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.5676, allocations: 1.139 MB / 1.579 GB, free: 360 kB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.5681, allocations: 0.933 MB / 1.579 GB, free: 15.39 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.5682, allocations: 55.42 kB / 1.58 GB, free: 15.34 MB / 1.279 GB Notification: Performance of SimCode: time 3.11e-07/0.5682, allocations: 4 kB / 1.58 GB, free: 15.33 MB / 1.279 GB Notification: Performance of Templates: time 0.01445/0.5827, allocations: 10.79 MB / 1.59 GB, free: 4.641 MB / 1.279 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/jenkins1/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: 12.21410647200537]