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.005405/0.005405, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001093/0.001093, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 68.11 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3676, allocations: 157.4 MB / 1.208 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003093/0.3708, allocations: 1.258 MB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9544/1.325, allocations: 137.7 MB / 1.343 GB, free: 5.984 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/1.325, allocations: 5.125 kB / 1.343 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/1.325, allocations: 5.109 kB / 1.343 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.038e-05/1.325, allocations: 6.812 kB / 1.343 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001659/1.327, allocations: 449.7 kB / 1.344 GB, free: 5.824 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/1.327, allocations: 41.61 kB / 1.344 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/1.327, allocations: 3.141 kB / 1.344 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/1.327, allocations: 30.19 kB / 1.344 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/1.328, allocations: 23.5 kB / 1.344 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/1.328, allocations: 1.625 kB / 1.344 GB, free: 5.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/1.329, allocations: 0.825 MB / 1.345 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/1.329, allocations: 4.688 kB / 1.345 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/1.329, allocations: 24.95 kB / 1.345 GB, free: 5.574 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008231/1.33, allocations: 448.9 kB / 1.345 GB, free: 5.469 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/1.33, allocations: 0 / 1.345 GB, free: 5.469 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.856e-06/1.33, allocations: 2.031 kB / 1.345 GB, free: 5.469 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.33, allocations: 0 / 1.345 GB, free: 5.469 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.0006532/1.331, allocations: 367.1 kB / 1.346 GB, free: 5.102 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/1.331, allocations: 9.188 kB / 1.346 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002245/1.331, allocations: 22.81 kB / 1.346 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/1.331, allocations: 162.3 kB / 1.346 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/1.331, allocations: 1.562 kB / 1.346 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/1.332, allocations: 4.844 kB / 1.346 GB, free: 4.895 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/1.332, allocations: 61.2 kB / 1.346 GB, free: 4.852 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.332, allocations: 6.75 kB / 1.346 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/1.332, allocations: 1.125 kB / 1.346 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/1.332, allocations: 1.156 kB / 1.346 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/1.332, allocations: 18.08 kB / 1.346 GB, free: 4.844 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/1.332, allocations: 172.2 kB / 1.346 GB, free: 4.641 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/1.332, allocations: 48.38 kB / 1.346 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/1.332, allocations: 21.41 kB / 1.346 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/1.345, allocations: 3.207 MB / 1.349 GB, free: 3.82 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/1.345, allocations: 35.44 kB / 1.349 GB, free: 3.777 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 6.462e-06/1.345, allocations: 0 / 1.349 GB, free: 3.777 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.04434/1.389, allocations: 15 MB / 1.364 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/1.389, allocations: 52.75 kB / 1.364 GB, free: 480 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/1.389, allocations: 95.64 kB / 1.364 GB, free: 376 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/1.389, allocations: 31.11 kB / 1.364 GB, free: 340 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 2.689e-05/1.389, allocations: 80.14 kB / 1.364 GB, free: 256 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/1.389, allocations: 47.86 kB / 1.364 GB, free: 212 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/1.39, allocations: 32.55 kB / 1.364 GB, free: 184 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.39, allocations: 311.8 kB / 1.364 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.596e-05/1.39, allocations: 24.48 kB / 1.364 GB, free: 15.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/1.39, allocations: 27.42 kB / 1.365 GB, free: 15.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/1.39, allocations: 75.86 kB / 1.365 GB, free: 15.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.39, allocations: 0 / 1.365 GB, free: 15.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002388/1.39, allocations: 105 kB / 1.365 GB, free: 15.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.39, allocations: 5.594 kB / 1.365 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.39, allocations: 0 / 1.365 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.39, allocations: 1.125 kB / 1.365 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/1.39, allocations: 23.83 kB / 1.365 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/1.39, allocations: 5 kB / 1.365 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/1.39, allocations: 1.188 kB / 1.365 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/1.39, allocations: 7.234 kB / 1.365 GB, free: 15.72 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 9.347e-05/1.391, allocations: 124.7 kB / 1.365 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/1.391, allocations: 6.594 kB / 1.365 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/1.391, allocations: 116.3 kB / 1.365 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.391, allocations: 1.562 kB / 1.365 GB, free: 15.51 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.391, allocations: 5.438 kB / 1.365 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/1.391, allocations: 11.97 kB / 1.365 GB, free: 15.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/1.391, allocations: 177.5 kB / 1.365 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.391, allocations: 0 / 1.365 GB, free: 15.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/1.391, allocations: 27.94 kB / 1.365 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.391, allocations: 1.344 kB / 1.365 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/1.391, allocations: 6.453 kB / 1.365 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.391, allocations: 1.375 kB / 1.365 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.391, allocations: 0 / 1.365 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/1.392, allocations: 152.4 kB / 1.365 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/1.392, allocations: 96.72 kB / 1.365 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/1.392, allocations: 1.219 kB / 1.365 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/1.392, allocations: 8.219 kB / 1.365 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/1.392, allocations: 16.36 kB / 1.365 GB, free: 15.04 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/1.392, allocations: 8.25 kB / 1.365 GB, free: 15.03 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.372e-05/1.392, allocations: 76.53 kB / 1.366 GB, free: 14.96 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.392, allocations: 96 / 1.366 GB, free: 14.96 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002751/1.395, allocations: 0.5725 MB / 1.366 GB, free: 14.92 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.003086/1.398, allocations: 351.9 kB / 1.366 GB, free: 14.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002736/1.398, allocations: 68.88 kB / 1.366 GB, free: 14.72 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/1.398, allocations: 0 / 1.366 GB, free: 14.72 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/1.398, allocations: 33.27 kB / 1.367 GB, free: 14.71 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/1.398, allocations: 17.95 kB / 1.367 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/1.399, allocations: 348.4 kB / 1.367 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/1.399, allocations: 0.6877 MB / 1.368 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.392e-05/1.399, allocations: 27.22 kB / 1.368 GB, free: 13.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/1.399, allocations: 16.97 kB / 1.368 GB, free: 13.68 MB / 1.061 GB Notification: Performance of SimCode: time 2.2e-07/1.399, allocations: 0 / 1.368 GB, free: 13.68 MB / 1.061 GB Notification: Performance of Templates: time 0.03916/1.439, allocations: 24.28 MB / 1.391 GB, free: 10.5 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