Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001591/0.001591, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001673/0.001673, allocations: 189.5 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.847/2.847, allocations: 469.8 MB / 0.742 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 64.98 kB / 0.908 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3418, allocations: 159.2 MB / 1.063 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002886/0.3447, allocations: 1.329 MB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.168/0.5128, allocations: 135.7 MB / 1.197 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.5128, allocations: 4 kB / 1.197 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.5129, allocations: 0 / 1.197 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.513, allocations: 3.938 kB / 1.197 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.5142, allocations: 402.8 kB / 1.198 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.267e-05/0.5143, allocations: 35.92 kB / 1.198 GB, free: 4.688 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.5143, allocations: 11.92 kB / 1.198 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.5144, allocations: 23.92 kB / 1.198 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.5145, allocations: 19.97 kB / 1.198 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.5145, allocations: 3.938 kB / 1.198 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.5159, allocations: 0.8076 MB / 1.199 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.5159, allocations: 15.91 kB / 1.199 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.32e-05/0.5159, allocations: 15.94 kB / 1.199 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005888/0.5165, allocations: 443.4 kB / 1.199 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5165, allocations: 0 / 1.199 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.105e-06/0.5166, allocations: 4 kB / 1.199 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.5166, allocations: 0 / 1.199 GB, free: 3.352 MB / 0.9512 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.0005732/0.5171, allocations: 375.4 kB / 1.199 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5172, allocations: 8.031 kB / 1.199 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.5174, allocations: 16.83 kB / 1.199 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.5175, allocations: 168.3 kB / 1.2 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.5175, allocations: 8.359 kB / 1.2 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.5176, allocations: 8.125 kB / 1.2 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.5177, allocations: 53.67 kB / 1.2 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5178, allocations: 3.938 kB / 1.2 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5178, allocations: 0 / 1.2 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5178, allocations: 8 kB / 1.2 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.301e-05/0.5179, allocations: 15.98 kB / 1.2 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001964/0.5181, allocations: 165.7 kB / 1.2 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.5182, allocations: 50.56 kB / 1.2 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.5182, allocations: 16.8 kB / 1.2 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.5285, allocations: 3.171 MB / 1.203 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.5286, allocations: 42.48 kB / 1.203 GB, free: 15 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.5286, allocations: 0 / 1.203 GB, free: 15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.04071/0.5693, allocations: 14.85 MB / 1.217 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.5694, allocations: 59.34 kB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.5695, allocations: 93.86 kB / 1.218 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.5695, allocations: 29.7 kB / 1.218 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.526e-05/0.5696, allocations: 80.14 kB / 1.218 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.5696, allocations: 39.45 kB / 1.218 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.5697, allocations: 29.62 kB / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.5698, allocations: 322.8 kB / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.5699, allocations: 27.98 kB / 1.218 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.852e-05/0.5699, allocations: 17.25 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.5701, allocations: 74.47 kB / 1.218 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5701, allocations: 7.875 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002093/0.5703, allocations: 97.69 kB / 1.218 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5703, allocations: 7.984 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5703, allocations: 3.938 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.5703, allocations: 0 / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.5705, allocations: 24 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.5705, allocations: 4 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.5705, allocations: 3.984 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.5706, allocations: 4 kB / 1.218 GB, free: 15.04 MB / 0.9825 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.459e-05/0.5707, allocations: 121.7 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.5707, allocations: 11.91 kB / 1.218 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.571, allocations: 113.6 kB / 1.219 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.571, allocations: 4 kB / 1.219 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.571, allocations: 0 / 1.219 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.571, allocations: 0 / 1.219 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.5712, allocations: 181.6 kB / 1.219 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5712, allocations: 0 / 1.219 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.5713, allocations: 27.92 kB / 1.219 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.5714, allocations: 4 kB / 1.219 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.5714, allocations: 4 kB / 1.219 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5714, allocations: 3.938 kB / 1.219 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.5714, allocations: 0 / 1.219 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.5717, allocations: 165.1 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.5718, allocations: 85.14 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.5718, allocations: 11.94 kB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.5719, allocations: 11.98 kB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.572, allocations: 7.984 kB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.572, allocations: 8 kB / 1.219 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.572, allocations: 83.22 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5721, allocations: 0 / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001697/0.5738, allocations: 0.5624 MB / 1.22 GB, free: 13.54 MB / 0.9825 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.002805/0.5766, allocations: 363.9 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.5768, allocations: 71.92 kB / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5768, allocations: 0 / 1.22 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.236e-05/0.5769, allocations: 31.98 kB / 1.22 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.577, allocations: 11.94 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006602/0.5777, allocations: 361.9 kB / 1.221 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.5781, allocations: 0.6846 MB / 1.221 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.713e-05/0.5782, allocations: 28.53 kB / 1.221 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.5782, allocations: 15.44 kB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.5782, allocations: 0 / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.03707/0.6153, allocations: 24.25 MB / 1.245 GB, free: 3.656 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches