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.00151/0.001511, allocations: 104.4 kB / 15.98 MB, free: 6.352 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.00154/0.00154, allocations: 195.6 kB / 16.91 MB, free: 6.184 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 / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.94 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2934, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.00248/0.2959, allocations: 1.313 MB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6334/0.9293, allocations: 135.7 MB / 1.198 GB, free: 8.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.9294, allocations: 1.281 kB / 1.198 GB, free: 8.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.9294, allocations: 0 / 1.198 GB, free: 8.777 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.169e-05/0.9295, allocations: 7.922 kB / 1.198 GB, free: 8.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.9307, allocations: 405.2 kB / 1.198 GB, free: 8.504 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.9307, allocations: 36.3 kB / 1.198 GB, free: 8.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.858e-05/0.9308, allocations: 6.578 kB / 1.198 GB, free: 8.484 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.175e-05/0.9308, allocations: 22.23 kB / 1.198 GB, free: 8.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.9309, allocations: 15.88 kB / 1.198 GB, free: 8.465 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.9309, allocations: 6.375 kB / 1.198 GB, free: 8.461 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.9323, allocations: 0.815 MB / 1.199 GB, free: 8.043 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.9323, allocations: 11.31 kB / 1.199 GB, free: 8.035 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.9323, allocations: 16.03 kB / 1.199 GB, free: 8.027 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.9327, allocations: 300.5 kB / 1.2 GB, free: 7.859 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9327, allocations: 0 / 1.2 GB, free: 7.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9327, allocations: 0 / 1.2 GB, free: 7.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.9327, allocations: 1.125 kB / 1.2 GB, free: 7.859 MB / 0.92 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.0005234/0.9333, allocations: 368.7 kB / 1.2 GB, free: 7.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.9333, allocations: 9.688 kB / 1.2 GB, free: 7.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.9335, allocations: 13.34 kB / 1.2 GB, free: 7.477 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.9336, allocations: 173.6 kB / 1.2 GB, free: 7.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.9336, allocations: 5.656 kB / 1.2 GB, free: 7.266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.9337, allocations: 4.688 kB / 1.2 GB, free: 7.266 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.9338, allocations: 59.36 kB / 1.2 GB, free: 7.215 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.9338, allocations: 0 / 1.2 GB, free: 7.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.9338, allocations: 0 / 1.2 GB, free: 7.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.9339, allocations: 1.531 kB / 1.2 GB, free: 7.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.239e-05/0.9339, allocations: 22.78 kB / 1.2 GB, free: 7.203 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.9341, allocations: 164.3 kB / 1.2 GB, free: 7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.9342, allocations: 56.73 kB / 1.2 GB, free: 6.957 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.9343, allocations: 12.14 kB / 1.2 GB, free: 6.949 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/0.9445, allocations: 3.18 MB / 1.203 GB, free: 5.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.9446, allocations: 36.97 kB / 1.204 GB, free: 5.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.9446, allocations: 0 / 1.204 GB, free: 5.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.03971/0.9843, allocations: 14.86 MB / 1.218 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.9844, allocations: 59.28 kB / 1.218 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.9845, allocations: 97.84 kB / 1.218 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.9845, allocations: 29.7 kB / 1.218 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.9846, allocations: 84.27 kB / 1.218 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.9846, allocations: 39.41 kB / 1.218 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.9847, allocations: 29.7 kB / 1.218 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.9848, allocations: 322.8 kB / 1.219 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.9849, allocations: 16 kB / 1.219 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.9849, allocations: 23.98 kB / 1.219 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.9851, allocations: 64.78 kB / 1.219 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.9851, allocations: 0 / 1.219 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002158/0.9853, allocations: 106.7 kB / 1.219 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9853, allocations: 12 kB / 1.219 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.9853, allocations: 3.938 kB / 1.219 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.9853, allocations: 0 / 1.219 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.9855, allocations: 23.98 kB / 1.219 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.9855, allocations: 0 / 1.219 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.68e-05/0.9855, allocations: 4 kB / 1.219 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.9855, allocations: 4 kB / 1.219 GB, free: 10.31 MB / 0.9356 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.431e-05/0.9856, allocations: 122.4 kB / 1.219 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.9857, allocations: 8 kB / 1.219 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.986, allocations: 129.3 kB / 1.219 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.986, allocations: 4 kB / 1.219 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.986, allocations: 0 / 1.219 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.986, allocations: 0 / 1.219 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.9861, allocations: 181.6 kB / 1.219 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9862, allocations: 4 kB / 1.219 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.9863, allocations: 23.98 kB / 1.219 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.9863, allocations: 0 / 1.219 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.9863, allocations: 8 kB / 1.219 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9863, allocations: 0 / 1.219 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9863, allocations: 0 / 1.219 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.9866, allocations: 156.9 kB / 1.22 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.9867, allocations: 89.05 kB / 1.22 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.9867, allocations: 4 kB / 1.22 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.9869, allocations: 15.98 kB / 1.22 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.9869, allocations: 4 kB / 1.22 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.9869, allocations: 12.86 kB / 1.22 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.987, allocations: 75.28 kB / 1.22 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.987, allocations: 0 / 1.22 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001691/0.9887, allocations: 0.5624 MB / 1.22 GB, free: 8.824 MB / 0.9356 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.002896/0.9916, allocations: 355.2 kB / 1.221 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.9918, allocations: 74.86 kB / 1.221 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.9918, allocations: 3.938 kB / 1.221 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.703e-05/0.9919, allocations: 43.86 kB / 1.221 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.992, allocations: 7.938 kB / 1.221 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006588/0.9927, allocations: 394.7 kB / 1.221 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.993, allocations: 0.6923 MB / 1.222 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.86e-05/0.9931, allocations: 19.44 kB / 1.222 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9931, allocations: 0 / 1.222 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of Templates: time 0.02268/1.016, allocations: 14.32 MB / 1.236 GB, free: 8.875 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches