Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001579, allocations: 112.9 kB / 16.42 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 192 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.171/2.171, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6804/0.6817, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001848/0.6836, allocations: 1.261 MB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1492/0.8328, allocations: 137.7 MB / 1.224 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.8329, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.8329, allocations: 3.984 kB / 1.224 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.697e-05/0.833, allocations: 8.891 kB / 1.224 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.8344, allocations: 479.5 kB / 1.225 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.529e-05/0.8345, allocations: 40.73 kB / 1.225 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.419e-05/0.8346, allocations: 2.094 kB / 1.225 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.779e-05/0.8346, allocations: 23.12 kB / 1.225 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.8347, allocations: 19.17 kB / 1.225 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.8347, allocations: 1.75 kB / 1.225 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.8364, allocations: 0.8363 MB / 1.226 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.8365, allocations: 10.56 kB / 1.226 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.8365, allocations: 14.47 kB / 1.226 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007628/0.8373, allocations: 444 kB / 1.226 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.8373, allocations: 4 kB / 1.226 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8373, allocations: 0 / 1.226 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.8373, allocations: 1.125 kB / 1.226 GB, free: 12.82 MB / 0.9669 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.0006127/0.8379, allocations: 374.5 kB / 1.226 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.838, allocations: 9.531 kB / 1.226 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.8382, allocations: 16.52 kB / 1.227 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.8383, allocations: 165.7 kB / 1.227 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.8383, allocations: 1.875 kB / 1.227 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.8383, allocations: 12.09 kB / 1.227 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.8385, allocations: 58.36 kB / 1.227 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.8385, allocations: 0 / 1.227 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.8385, allocations: 1.125 kB / 1.227 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.8385, allocations: 1.156 kB / 1.227 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/0.8386, allocations: 17.23 kB / 1.227 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.8388, allocations: 165.8 kB / 1.227 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.8389, allocations: 49.16 kB / 1.227 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.839, allocations: 26.88 kB / 1.227 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01174/0.8507, allocations: 3.205 MB / 1.23 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.8507, allocations: 38.5 kB / 1.23 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.8507, allocations: 1.812 kB / 1.23 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.04282/0.8936, allocations: 14.99 MB / 1.245 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.8936, allocations: 51.41 kB / 1.245 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.8937, allocations: 89.86 kB / 1.245 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.8937, allocations: 37.64 kB / 1.245 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.8938, allocations: 80.14 kB / 1.245 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.8938, allocations: 39.52 kB / 1.245 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.8939, allocations: 37.72 kB / 1.245 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.894, allocations: 314.8 kB / 1.245 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.894, allocations: 23.98 kB / 1.245 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.8941, allocations: 24.56 kB / 1.245 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.8942, allocations: 72.47 kB / 1.246 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.8942, allocations: 0 / 1.246 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002177/0.8944, allocations: 105.6 kB / 1.246 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.8945, allocations: 8 kB / 1.246 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8945, allocations: 4 kB / 1.246 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8945, allocations: 0 / 1.246 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.8946, allocations: 24 kB / 1.246 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8946, allocations: 3.984 kB / 1.246 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.738e-05/0.8946, allocations: 3.984 kB / 1.246 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.8947, allocations: 8 kB / 1.246 GB, free: 12.51 MB / 0.9825 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 7.621e-05/0.8947, allocations: 121.7 kB / 1.246 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.8948, allocations: 7.906 kB / 1.246 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.8951, allocations: 125.5 kB / 1.246 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.8951, allocations: 0 / 1.246 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.8951, allocations: 4 kB / 1.246 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.8952, allocations: 85.09 kB / 1.246 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.8952, allocations: 7.984 kB / 1.246 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.8953, allocations: 12 kB / 1.246 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.8954, allocations: 15.86 kB / 1.246 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002722/0.8957, allocations: 184.8 kB / 1.246 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003286/0.896, allocations: 302.7 kB / 1.247 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.008e-05/0.8961, allocations: 31.97 kB / 1.247 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 2.521e-05/0.8961, allocations: 79.28 kB / 1.247 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of Backend: time 5.11e-07/0.8961, allocations: 3.938 kB / 1.247 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003909/0.9, allocations: 394.1 kB / 1.247 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006571/0.9007, allocations: 0.7846 MB / 1.248 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.03372/0.9344, allocations: 24.67 MB / 1.272 GB, free: 1.578 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches