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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_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.007765/0.007765, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001921/0.001921, allocations: 195 kB / 16.68 MB, free: 6.375 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.824/2.824, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3665, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002707/0.3692, allocations: 1.266 MB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9477/1.317, allocations: 137.7 MB / 1.343 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/1.317, allocations: 1.125 kB / 1.343 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/1.317, allocations: 0.7031 kB / 1.343 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/1.317, allocations: 5.844 kB / 1.343 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/1.319, allocations: 466.8 kB / 1.344 GB, free: 5.492 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.214e-05/1.319, allocations: 35.03 kB / 1.344 GB, free: 5.484 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/1.319, allocations: 6.094 kB / 1.344 GB, free: 5.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.014e-05/1.319, allocations: 26.45 kB / 1.344 GB, free: 5.469 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.641e-05/1.319, allocations: 24.44 kB / 1.344 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/1.319, allocations: 2.031 kB / 1.344 GB, free: 5.457 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/1.321, allocations: 0.8221 MB / 1.345 GB, free: 5.27 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/1.321, allocations: 13.45 kB / 1.345 GB, free: 5.262 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/1.321, allocations: 16.62 kB / 1.345 GB, free: 5.254 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007608/1.321, allocations: 447.5 kB / 1.345 GB, free: 5.152 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.321, allocations: 2.391 kB / 1.345 GB, free: 5.152 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/1.321, allocations: 9.531 kB / 1.345 GB, free: 5.145 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.556e-06/1.322, allocations: 0 / 1.345 GB, free: 5.145 MB / 1.045 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.0005299/1.322, allocations: 367.1 kB / 1.346 GB, free: 4.777 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/1.322, allocations: 9.312 kB / 1.346 GB, free: 4.777 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/1.322, allocations: 14.78 kB / 1.346 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/1.322, allocations: 163 kB / 1.346 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.322, allocations: 1.906 kB / 1.346 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/1.322, allocations: 8.266 kB / 1.346 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/1.323, allocations: 61.89 kB / 1.346 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/1.323, allocations: 0 / 1.346 GB, free: 4.527 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/1.323, allocations: 6.703 kB / 1.346 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.323, allocations: 1.344 kB / 1.346 GB, free: 4.523 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.083e-05/1.323, allocations: 22.73 kB / 1.346 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/1.323, allocations: 158.8 kB / 1.346 GB, free: 4.324 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/1.323, allocations: 51.67 kB / 1.346 GB, free: 4.293 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/1.323, allocations: 21.03 kB / 1.346 GB, free: 4.277 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01196/1.335, allocations: 3.22 MB / 1.349 GB, free: 3.492 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/1.335, allocations: 31.66 kB / 1.349 GB, free: 3.453 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 2.023e-06/1.335, allocations: 0 / 1.349 GB, free: 3.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.04311/1.378, allocations: 15 MB / 1.364 GB, free: 264 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/1.378, allocations: 52.56 kB / 1.364 GB, free: 200 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/1.378, allocations: 96.2 kB / 1.364 GB, free: 96 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/1.378, allocations: 26.8 kB / 1.364 GB, free: 64 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/1.379, allocations: 80.14 kB / 1.364 GB, free: 15.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/1.379, allocations: 48.73 kB / 1.364 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/1.379, allocations: 35.67 kB / 1.364 GB, free: 15.91 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.379, allocations: 319.9 kB / 1.364 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/1.379, allocations: 21.45 kB / 1.365 GB, free: 15.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/1.379, allocations: 29.64 kB / 1.365 GB, free: 15.56 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/1.379, allocations: 61.45 kB / 1.365 GB, free: 15.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/1.379, allocations: 0 / 1.365 GB, free: 15.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002236/1.379, allocations: 106.6 kB / 1.365 GB, free: 15.46 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.379, allocations: 6.281 kB / 1.365 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/1.379, allocations: 0.875 kB / 1.365 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.379, allocations: 1.531 kB / 1.365 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/1.38, allocations: 26.77 kB / 1.365 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.38, allocations: 4.547 kB / 1.365 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/1.38, allocations: 9 kB / 1.365 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/1.38, allocations: 3.344 kB / 1.365 GB, free: 15.45 MB / 1.061 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 8.557e-05/1.38, allocations: 120.9 kB / 1.365 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/1.38, allocations: 6.531 kB / 1.365 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/1.38, allocations: 125.4 kB / 1.365 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/1.38, allocations: 1.219 kB / 1.365 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.38, allocations: 2.625 kB / 1.365 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.38, allocations: 0 / 1.365 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/1.38, allocations: 181.5 kB / 1.365 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.38, allocations: 0 / 1.365 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/1.38, allocations: 23.98 kB / 1.365 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.38, allocations: 5.094 kB / 1.365 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/1.38, allocations: 6.312 kB / 1.365 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.38, allocations: 4 kB / 1.365 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.38, allocations: 5.141 kB / 1.365 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/1.381, allocations: 148.2 kB / 1.365 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.096e-05/1.381, allocations: 89.17 kB / 1.365 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/1.381, allocations: 1.312 kB / 1.365 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/1.381, allocations: 15.27 kB / 1.365 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/1.381, allocations: 12.8 kB / 1.365 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/1.381, allocations: 7.625 kB / 1.365 GB, free: 14.76 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.958e-05/1.381, allocations: 76.5 kB / 1.366 GB, free: 14.69 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.381, allocations: 0 / 1.366 GB, free: 14.69 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002562/1.384, allocations: 0.5609 MB / 1.366 GB, free: 14.66 MB / 1.061 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.00289/1.387, allocations: 365.4 kB / 1.366 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001975/1.387, allocations: 61.22 kB / 1.366 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.387, allocations: 0 / 1.366 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.621e-05/1.387, allocations: 42.8 kB / 1.367 GB, free: 14.44 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/1.387, allocations: 19.41 kB / 1.367 GB, free: 14.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/1.388, allocations: 346.3 kB / 1.367 GB, free: 14.14 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/1.388, allocations: 0.6832 MB / 1.368 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.234e-05/1.388, allocations: 26.19 kB / 1.368 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/1.388, allocations: 15.12 kB / 1.368 GB, free: 13.42 MB / 1.061 GB Notification: Performance of SimCode: time 2.3e-07/1.388, allocations: 0 / 1.368 GB, free: 13.42 MB / 1.061 GB Notification: Performance of Templates: time 0.04114/1.429, allocations: 24.27 MB / 1.391 GB, free: 10.3 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches