Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 109.1 kB / 18.19 MB, free: 4.02 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 184.5 kB / 21.33 MB, free: 0.8828 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 489.7 MB / 0.7761 GB, free: 2.406 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=502,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=502,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 71.88 kB / 1.127 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9901/0.992, allocations: 172 MB / 1.295 GB, free: 38.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001863/0.9938, allocations: 1.275 MB / 1.296 GB, free: 37.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1522/1.146, allocations: 138.1 MB / 1.431 GB, free: 1.512 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/1.146, allocations: 4 kB / 1.431 GB, free: 1.508 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.719e-05/1.146, allocations: 5.391 kB / 1.431 GB, free: 1.504 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/1.146, allocations: 9.719 kB / 1.431 GB, free: 1.496 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/1.148, allocations: 465.8 kB / 1.431 GB, free: 1.332 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/1.148, allocations: 33.86 kB / 1.431 GB, free: 1.324 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/1.148, allocations: 8.109 kB / 1.431 GB, free: 1.32 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 6.443e-05/1.148, allocations: 26.02 kB / 1.431 GB, free: 1.309 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/1.148, allocations: 19.92 kB / 1.431 GB, free: 1.301 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/1.148, allocations: 1.375 kB / 1.431 GB, free: 1.301 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/1.15, allocations: 0.8313 MB / 1.432 GB, free: 1.102 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/1.15, allocations: 12.86 kB / 1.432 GB, free: 1.094 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/1.15, allocations: 17.31 kB / 1.432 GB, free: 1.086 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/1.151, allocations: 440.8 kB / 1.433 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/1.151, allocations: 0 / 1.433 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.312e-06/1.151, allocations: 1.281 kB / 1.433 GB, free: 0.9883 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.036e-05/1.151, allocations: 0 / 1.433 GB, free: 0.9883 MB / 1.123 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.000573/1.152, allocations: 373.9 kB / 1.433 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/1.152, allocations: 13.34 kB / 1.433 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/1.152, allocations: 12.83 kB / 1.433 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/1.152, allocations: 165.5 kB / 1.433 GB, free: 420 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.152, allocations: 11.83 kB / 1.433 GB, free: 412 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/1.152, allocations: 7.688 kB / 1.433 GB, free: 408 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/1.153, allocations: 61.5 kB / 1.433 GB, free: 360 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/1.153, allocations: 0 / 1.433 GB, free: 360 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/1.153, allocations: 0.5625 kB / 1.433 GB, free: 360 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.153, allocations: 0 / 1.433 GB, free: 360 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.729e-05/1.153, allocations: 19.98 kB / 1.433 GB, free: 356 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/1.153, allocations: 170.5 kB / 1.434 GB, free: 148 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/1.153, allocations: 46.5 kB / 1.434 GB, free: 116 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/1.153, allocations: 20.55 kB / 1.434 GB, free: 100 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/1.164, allocations: 3.212 MB / 1.437 GB, free: 15.32 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/1.164, allocations: 32.48 kB / 1.437 GB, free: 15.28 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 3.577e-06/1.164, allocations: 4 kB / 1.437 GB, free: 15.28 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.04017/1.204, allocations: 14.99 MB / 1.451 GB, free: 13.26 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/1.204, allocations: 52.47 kB / 1.451 GB, free: 13.2 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/1.204, allocations: 102 kB / 1.452 GB, free: 13.09 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/1.204, allocations: 27.08 kB / 1.452 GB, free: 13.06 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/1.204, allocations: 84.12 kB / 1.452 GB, free: 12.97 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/1.204, allocations: 43.44 kB / 1.452 GB, free: 12.94 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/1.204, allocations: 30.62 kB / 1.452 GB, free: 12.91 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.204, allocations: 322.3 kB / 1.452 GB, free: 12.59 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/1.204, allocations: 19.22 kB / 1.452 GB, free: 12.59 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.888e-05/1.204, allocations: 25.31 kB / 1.452 GB, free: 12.58 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/1.205, allocations: 64.48 kB / 1.452 GB, free: 12.55 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/1.205, allocations: 1.094 kB / 1.452 GB, free: 12.55 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002178/1.205, allocations: 104.5 kB / 1.452 GB, free: 12.49 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.205, allocations: 5.469 kB / 1.452 GB, free: 12.49 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.205, allocations: 0.6562 kB / 1.452 GB, free: 12.49 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.205, allocations: 1.031 kB / 1.452 GB, free: 12.49 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/1.205, allocations: 22.12 kB / 1.452 GB, free: 12.49 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.205, allocations: 5.688 kB / 1.452 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/1.205, allocations: 4.969 kB / 1.452 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/1.205, allocations: 3.281 kB / 1.452 GB, free: 12.48 MB / 1.139 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.22e-05/1.205, allocations: 121.7 kB / 1.452 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/1.205, allocations: 7.969 kB / 1.452 GB, free: 12.35 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/1.205, allocations: 131.8 kB / 1.453 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.205, allocations: 1.625 kB / 1.453 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.205, allocations: 2.359 kB / 1.453 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.205, allocations: 8.453 kB / 1.453 GB, free: 12.26 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/1.206, allocations: 176.9 kB / 1.453 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.206, allocations: 0 / 1.453 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/1.206, allocations: 23.77 kB / 1.453 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.206, allocations: 1.219 kB / 1.453 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/1.206, allocations: 10.14 kB / 1.453 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/1.206, allocations: 0.9062 kB / 1.453 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/1.206, allocations: 0 / 1.453 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/1.206, allocations: 159.5 kB / 1.453 GB, free: 11.94 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/1.206, allocations: 89.09 kB / 1.453 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.206, allocations: 5.781 kB / 1.453 GB, free: 11.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/1.206, allocations: 15.42 kB / 1.453 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/1.206, allocations: 6.016 kB / 1.453 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/1.206, allocations: 6.203 kB / 1.453 GB, free: 11.83 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.034e-05/1.206, allocations: 81.16 kB / 1.453 GB, free: 11.75 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.206, allocations: 4.094 kB / 1.453 GB, free: 11.75 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002575/1.209, allocations: 0.5585 MB / 1.454 GB, free: 11.73 MB / 1.139 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.00305/1.212, allocations: 354.4 kB / 1.454 GB, free: 11.58 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002217/1.212, allocations: 72.23 kB / 1.454 GB, free: 11.55 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.212, allocations: 0 / 1.454 GB, free: 11.55 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/1.212, allocations: 31.02 kB / 1.454 GB, free: 11.55 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/1.212, allocations: 10.88 kB / 1.454 GB, free: 11.54 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/1.213, allocations: 370 kB / 1.454 GB, free: 11.24 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/1.213, allocations: 0.6897 MB / 1.455 GB, free: 10.54 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/1.213, allocations: 23.97 kB / 1.455 GB, free: 10.53 MB / 1.139 GB Notification: Performance of SimCode: time 4.71e-07/1.213, allocations: 0 / 1.455 GB, free: 10.53 MB / 1.139 GB Notification: Performance of Templates: time 0.02601/1.239, allocations: 14.35 MB / 1.469 GB, free: 15.45 MB / 1.154 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches