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.008076/0.008076, allocations: 100.8 kB / 15.73 MB, free: 6.48 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.002004/0.002004, allocations: 194.6 kB / 16.67 MB, free: 6.391 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.508/1.508, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.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.458/2.458, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 70.09 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3517, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002952/0.3548, allocations: 1.261 MB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.5261, allocations: 137.7 MB / 1.224 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.5262, allocations: 0 / 1.224 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.5262, allocations: 7.984 kB / 1.224 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.5264, allocations: 7.922 kB / 1.224 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.5283, allocations: 466.3 kB / 1.224 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.5284, allocations: 35.92 kB / 1.224 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.5285, allocations: 11.92 kB / 1.224 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.538e-05/0.5285, allocations: 23.91 kB / 1.224 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.5286, allocations: 19.98 kB / 1.224 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.5287, allocations: 0 / 1.224 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.5307, allocations: 0.8309 MB / 1.225 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.5308, allocations: 15.91 kB / 1.225 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.5308, allocations: 15.94 kB / 1.225 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008678/0.5317, allocations: 439.2 kB / 1.225 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.5317, allocations: 0 / 1.225 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5317, allocations: 3.938 kB / 1.225 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.5317, allocations: 0 / 1.225 GB, free: 4.113 MB / 0.9825 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.0006943/0.5324, allocations: 371.5 kB / 1.226 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.5325, allocations: 12.02 kB / 1.226 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.5328, allocations: 16.84 kB / 1.226 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.5329, allocations: 164.3 kB / 1.226 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.533, allocations: 8.375 kB / 1.226 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.533, allocations: 8.125 kB / 1.226 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.5332, allocations: 57.61 kB / 1.226 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5332, allocations: 0 / 1.226 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.5332, allocations: 0 / 1.226 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5333, allocations: 0 / 1.226 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.5334, allocations: 23.97 kB / 1.226 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.5336, allocations: 165.7 kB / 1.226 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.5338, allocations: 46.56 kB / 1.226 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.5338, allocations: 24.78 kB / 1.226 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.5447, allocations: 3.209 MB / 1.229 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.898e-05/0.5448, allocations: 34.56 kB / 1.229 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/0.5449, allocations: 0 / 1.229 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.04065/0.5855, allocations: 14.99 MB / 1.244 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.5856, allocations: 51.41 kB / 1.244 GB, free: 0.5234 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.5857, allocations: 93.86 kB / 1.244 GB, free: 432 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.5857, allocations: 37.77 kB / 1.244 GB, free: 388 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.5858, allocations: 80.14 kB / 1.244 GB, free: 304 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.5858, allocations: 35.45 kB / 1.244 GB, free: 268 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.5859, allocations: 37.7 kB / 1.244 GB, free: 224 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.586, allocations: 314.8 kB / 1.245 GB, free: 15.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.632e-05/0.5861, allocations: 23.98 kB / 1.245 GB, free: 15.88 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.97e-05/0.5861, allocations: 27.98 kB / 1.245 GB, free: 15.85 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.5863, allocations: 58.17 kB / 1.245 GB, free: 15.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5863, allocations: 4 kB / 1.245 GB, free: 15.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002264/0.5865, allocations: 113.5 kB / 1.245 GB, free: 15.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5865, allocations: 4 kB / 1.245 GB, free: 15.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5866, allocations: 4 kB / 1.245 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.5866, allocations: 0 / 1.245 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.5867, allocations: 27.98 kB / 1.245 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.5867, allocations: 3.938 kB / 1.245 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.5868, allocations: 4 kB / 1.245 GB, free: 15.63 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.5868, allocations: 4 kB / 1.245 GB, free: 15.62 MB / 1.014 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.737e-05/0.5869, allocations: 121.8 kB / 1.245 GB, free: 15.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.587, allocations: 7.906 kB / 1.245 GB, free: 15.49 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.5872, allocations: 117.6 kB / 1.245 GB, free: 15.37 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5872, allocations: 3.984 kB / 1.245 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.5873, allocations: 0 / 1.245 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.5873, allocations: 3.938 kB / 1.245 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.5874, allocations: 181.6 kB / 1.245 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5875, allocations: 3.938 kB / 1.245 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.5876, allocations: 27.98 kB / 1.245 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5876, allocations: 3.938 kB / 1.245 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.5876, allocations: 7.984 kB / 1.245 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.5876, allocations: 0 / 1.245 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5876, allocations: 0 / 1.245 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.588, allocations: 152.3 kB / 1.246 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/0.5881, allocations: 89.14 kB / 1.246 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.5881, allocations: 11.92 kB / 1.246 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.5882, allocations: 8 kB / 1.246 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.5883, allocations: 11.98 kB / 1.246 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.5883, allocations: 4 kB / 1.246 GB, free: 14.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.5883, allocations: 79.28 kB / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5883, allocations: 0 / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002157/0.5905, allocations: 0.5703 MB / 1.246 GB, free: 14.14 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.003784/0.5943, allocations: 359 kB / 1.247 GB, free: 13.78 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.5946, allocations: 72.23 kB / 1.247 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5946, allocations: 0 / 1.247 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.229e-05/0.5947, allocations: 31.94 kB / 1.247 GB, free: 13.68 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.5949, allocations: 17.48 kB / 1.247 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006507/0.5955, allocations: 349.8 kB / 1.247 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.5958, allocations: 0.6851 MB / 1.248 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.903e-05/0.5959, allocations: 32.47 kB / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.596, allocations: 19.44 kB / 1.248 GB, free: 12.53 MB / 1.014 GB Notification: Performance of SimCode: time 2.966e-06/0.596, allocations: 0 / 1.248 GB, free: 12.53 MB / 1.014 GB Notification: Performance of Templates: time 0.7398/1.336, allocations: 24.26 MB / 1.272 GB, free: 161.2 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches