Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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.001811/0.001811, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002225/0.002225, allocations: 211.7 kB / 23 MB, free: 4.934 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.159/3.159, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck") [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.002039/0.002039, allocations: 74.22 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3024, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.0023/0.3047, allocations: 1.273 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.4559, allocations: 120.9 MB / 1.446 GB, free: 6.344 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.888e-05/0.4559, allocations: 0 / 1.446 GB, free: 6.344 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.4559, allocations: 3.984 kB / 1.446 GB, free: 6.34 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.743e-05/0.456, allocations: 3.938 kB / 1.446 GB, free: 6.336 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.4573, allocations: 474.2 kB / 1.447 GB, free: 5.871 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.316e-05/0.4574, allocations: 35.91 kB / 1.447 GB, free: 5.836 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.4575, allocations: 3.984 kB / 1.447 GB, free: 5.832 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 5.06e-05/0.4575, allocations: 23.92 kB / 1.447 GB, free: 5.809 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.4576, allocations: 23.91 kB / 1.447 GB, free: 5.785 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.4576, allocations: 4 kB / 1.447 GB, free: 5.781 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.4591, allocations: 0.8154 MB / 1.448 GB, free: 4.965 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.4591, allocations: 11.94 kB / 1.448 GB, free: 4.953 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.4592, allocations: 19.92 kB / 1.448 GB, free: 4.934 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.4598, allocations: 447 kB / 1.448 GB, free: 4.496 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4598, allocations: 3.984 kB / 1.448 GB, free: 4.492 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4598, allocations: 0 / 1.448 GB, free: 4.492 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.4598, allocations: 0 / 1.448 GB, free: 4.492 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005258/0.4603, allocations: 298.1 kB / 1.448 GB, free: 4.172 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4604, allocations: 8.031 kB / 1.448 GB, free: 4.164 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.4605, allocations: 8.938 kB / 1.448 GB, free: 4.156 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.4606, allocations: 106.5 kB / 1.449 GB, free: 4.027 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4607, allocations: 384 / 1.449 GB, free: 4.027 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.4607, allocations: 16.11 kB / 1.449 GB, free: 4.012 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.4609, allocations: 130.7 kB / 1.449 GB, free: 3.859 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.4609, allocations: 0 / 1.449 GB, free: 3.859 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.4609, allocations: 7.984 kB / 1.449 GB, free: 3.852 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.4609, allocations: 4 kB / 1.449 GB, free: 3.848 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.533e-05/0.461, allocations: 19.92 kB / 1.449 GB, free: 3.828 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.4611, allocations: 109.3 kB / 1.449 GB, free: 3.691 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.4612, allocations: 46.64 kB / 1.449 GB, free: 3.637 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.4613, allocations: 20.94 kB / 1.449 GB, free: 3.613 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01164/0.4729, allocations: 2.872 MB / 1.452 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.473, allocations: 38.44 kB / 1.452 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 2.285e-06/0.473, allocations: 4 kB / 1.452 GB, free: 0.6875 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.04363/0.5166, allocations: 14.92 MB / 1.466 GB, free: 1.633 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.5166, allocations: 51.41 kB / 1.466 GB, free: 1.57 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.5167, allocations: 97.86 kB / 1.466 GB, free: 1.465 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.5167, allocations: 25.7 kB / 1.466 GB, free: 1.434 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.5168, allocations: 84.27 kB / 1.467 GB, free: 1.348 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.5168, allocations: 39.69 kB / 1.467 GB, free: 1.309 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/0.5169, allocations: 37.66 kB / 1.467 GB, free: 1.266 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.517, allocations: 310.8 kB / 1.467 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.5171, allocations: 31.98 kB / 1.467 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.709e-05/0.5172, allocations: 27.11 kB / 1.467 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.5173, allocations: 60.8 kB / 1.467 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5173, allocations: 0 / 1.467 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002475/0.5175, allocations: 109.6 kB / 1.467 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5175, allocations: 4 kB / 1.467 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5175, allocations: 0 / 1.467 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5176, allocations: 8 kB / 1.467 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.5177, allocations: 19.98 kB / 1.467 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.5177, allocations: 4 kB / 1.467 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.5177, allocations: 4 kB / 1.467 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.5177, allocations: 4 kB / 1.467 GB, free: 0.6797 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 9.554e-05/0.5178, allocations: 122.2 kB / 1.467 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.5179, allocations: 3.953 kB / 1.467 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.5181, allocations: 137.3 kB / 1.467 GB, free: 416 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5182, allocations: 3.984 kB / 1.467 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5182, allocations: 0 / 1.467 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.5182, allocations: 11.98 kB / 1.467 GB, free: 400 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.5182, allocations: 4 kB / 1.467 GB, free: 396 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.5184, allocations: 11.98 kB / 1.467 GB, free: 384 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.5184, allocations: 19.86 kB / 1.467 GB, free: 364 kB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003016/0.5187, allocations: 188.8 kB / 1.468 GB, free: 168 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003828/0.5191, allocations: 311.1 kB / 1.468 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.787e-05/0.5192, allocations: 31.95 kB / 1.468 GB, free: 15.81 MB / 1.17 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.5192, allocations: 79.28 kB / 1.468 GB, free: 15.73 MB / 1.17 GB Notification: Performance of Backend: time 3.01e-07/0.5192, allocations: 0 / 1.468 GB, free: 15.73 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003518/0.5227, allocations: 388 kB / 1.468 GB, free: 15.35 MB / 1.17 GB Notification: Performance of SimCode: time 0.0007798/0.5235, allocations: 0.7763 MB / 1.469 GB, free: 14.53 MB / 1.17 GB Notification: Performance of Templates: time 0.04758/0.5711, allocations: 24.84 MB / 1.493 GB, free: 5.684 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.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.19944323499658]