Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001337/0.001337, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001623/0.001623, allocations: 196.4 kB / 16.25 MB, free: 6.633 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.388/1.388, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.812/2.812, allocations: 437 MB / 0.71 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 59.91 kB / 0.8687 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.71/0.7117, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002384/0.7141, allocations: 1.323 MB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.8652, allocations: 135.7 MB / 1.151 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.8653, allocations: 0 / 1.151 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.8653, allocations: 3.938 kB / 1.151 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.8654, allocations: 0 / 1.151 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.867, allocations: 410.8 kB / 1.151 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.8671, allocations: 35.86 kB / 1.151 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.8671, allocations: 7.969 kB / 1.151 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.8672, allocations: 19.94 kB / 1.151 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.8673, allocations: 23.95 kB / 1.151 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.8673, allocations: 4 kB / 1.151 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.8688, allocations: 0.7997 MB / 1.152 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.8688, allocations: 19.91 kB / 1.152 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.8689, allocations: 12 kB / 1.152 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.8694, allocations: 453 kB / 1.152 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8695, allocations: 4 kB / 1.152 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8695, allocations: 0 / 1.152 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.8695, allocations: 0 / 1.152 GB, free: 7.449 MB / 0.9044 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.0004612/0.8699, allocations: 371.4 kB / 1.153 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.87, allocations: 8.031 kB / 1.153 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.8702, allocations: 12.92 kB / 1.153 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.8703, allocations: 160.4 kB / 1.153 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.8703, allocations: 4.375 kB / 1.153 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.8703, allocations: 16.03 kB / 1.153 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.8705, allocations: 53.67 kB / 1.153 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8705, allocations: 4 kB / 1.153 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.8705, allocations: 4 kB / 1.153 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.8705, allocations: 0 / 1.153 GB, free: 6.738 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.333e-05/0.8706, allocations: 19.92 kB / 1.153 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.8708, allocations: 165.7 kB / 1.153 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.8709, allocations: 46.56 kB / 1.153 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.871, allocations: 24.8 kB / 1.153 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.8813, allocations: 3.171 MB / 1.156 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.8813, allocations: 38.55 kB / 1.156 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.8813, allocations: 0 / 1.156 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.03897/0.9203, allocations: 14.88 MB / 1.171 GB, free: 4.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.9204, allocations: 51.41 kB / 1.171 GB, free: 4.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.9205, allocations: 89.86 kB / 1.171 GB, free: 3.922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.9205, allocations: 37.64 kB / 1.171 GB, free: 3.879 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.9205, allocations: 80.14 kB / 1.171 GB, free: 3.797 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.9206, allocations: 43.39 kB / 1.171 GB, free: 3.754 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.9206, allocations: 29.84 kB / 1.171 GB, free: 3.719 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9208, allocations: 322.8 kB / 1.171 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.703e-05/0.9208, allocations: 23.98 kB / 1.171 GB, free: 3.371 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.832e-05/0.9209, allocations: 24 kB / 1.171 GB, free: 3.348 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.921, allocations: 58.09 kB / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.921, allocations: 0 / 1.172 GB, free: 3.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002286/0.9212, allocations: 113.4 kB / 1.172 GB, free: 3.176 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9213, allocations: 8 kB / 1.172 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.9213, allocations: 0 / 1.172 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.9213, allocations: 0 / 1.172 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.9214, allocations: 24 kB / 1.172 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.9215, allocations: 3.984 kB / 1.172 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.9215, allocations: 3.938 kB / 1.172 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.9215, allocations: 12 kB / 1.172 GB, free: 3.125 MB / 0.92 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 0.0001073/0.9216, allocations: 122.2 kB / 1.172 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.9217, allocations: 4 kB / 1.172 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.922, allocations: 121.5 kB / 1.172 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.922, allocations: 4 kB / 1.172 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.922, allocations: 0 / 1.172 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.922, allocations: 0 / 1.172 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.9221, allocations: 177.6 kB / 1.172 GB, free: 2.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.9221, allocations: 3.938 kB / 1.172 GB, free: 2.641 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.9223, allocations: 31.92 kB / 1.172 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.9223, allocations: 0 / 1.172 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.9223, allocations: 8 kB / 1.172 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.9223, allocations: 0 / 1.172 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9223, allocations: 0 / 1.172 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.9226, allocations: 157 kB / 1.172 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.9227, allocations: 93.05 kB / 1.172 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.9228, allocations: 0 / 1.172 GB, free: 2.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.9229, allocations: 15.98 kB / 1.172 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.923, allocations: 11.98 kB / 1.172 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.923, allocations: 4 kB / 1.172 GB, free: 2.289 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.9231, allocations: 75.28 kB / 1.173 GB, free: 2.215 MB / 0.92 GB Notification: Performance of sort global known variables: time 8.61e-07/0.9231, allocations: 0 / 1.173 GB, free: 2.215 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002662/0.9257, allocations: 0.5663 MB / 1.173 GB, free: 1.648 MB / 0.92 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.004462/0.9302, allocations: 359.1 kB / 1.173 GB, free: 1.285 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002672/0.9305, allocations: 63.92 kB / 1.173 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.9305, allocations: 0 / 1.173 GB, free: 1.223 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.9306, allocations: 39.98 kB / 1.173 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.9309, allocations: 18.03 kB / 1.174 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.9315, allocations: 354 kB / 1.174 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.9318, allocations: 0.6846 MB / 1.175 GB, free: 88 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.508e-05/0.9319, allocations: 24.53 kB / 1.175 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.932, allocations: 15.44 kB / 1.175 GB, free: 48 kB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/0.932, allocations: 0 / 1.175 GB, free: 48 kB / 0.92 GB Notification: Performance of Templates: time 0.0373/0.9693, allocations: 24.26 MB / 1.198 GB, free: 7.766 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches