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.001401/0.001401, allocations: 105.4 kB / 16.27 MB, free: 5.957 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.00162/0.00162, allocations: 190.3 kB / 17.2 MB, free: 5.59 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.346/1.346, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.509/2.509, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 56.78 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3038, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002439/0.3062, allocations: 1.266 MB / 1.065 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7244/1.031, allocations: 137.7 MB / 1.2 GB, free: 6.945 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/1.031, allocations: 5 kB / 1.2 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/1.031, allocations: 0 / 1.2 GB, free: 6.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.793e-05/1.031, allocations: 8.984 kB / 1.2 GB, free: 6.934 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/1.032, allocations: 450.2 kB / 1.2 GB, free: 6.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.714e-05/1.032, allocations: 52.27 kB / 1.2 GB, free: 6.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/1.032, allocations: 2.438 kB / 1.2 GB, free: 6.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.19e-05/1.032, allocations: 24.83 kB / 1.2 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/1.032, allocations: 19.88 kB / 1.2 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/1.032, allocations: 2.156 kB / 1.2 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/1.034, allocations: 0.8085 MB / 1.201 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/1.034, allocations: 7.422 kB / 1.201 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/1.034, allocations: 18.36 kB / 1.201 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005722/1.035, allocations: 445.1 kB / 1.202 GB, free: 5.859 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/1.035, allocations: 0 / 1.202 GB, free: 5.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/1.035, allocations: 5.156 kB / 1.202 GB, free: 5.855 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.49e-06/1.035, allocations: 0 / 1.202 GB, free: 5.855 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.0004833/1.035, allocations: 368.8 kB / 1.202 GB, free: 5.477 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/1.035, allocations: 9.469 kB / 1.202 GB, free: 5.477 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/1.035, allocations: 13.8 kB / 1.202 GB, free: 5.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/1.035, allocations: 169.5 kB / 1.202 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/1.035, allocations: 1.594 kB / 1.202 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/1.035, allocations: 3.812 kB / 1.202 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/1.036, allocations: 66.45 kB / 1.202 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/1.036, allocations: 0 / 1.202 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/1.036, allocations: 1.125 kB / 1.202 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/1.036, allocations: 1.094 kB / 1.202 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.096e-05/1.036, allocations: 18.61 kB / 1.202 GB, free: 5.203 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/1.036, allocations: 164.8 kB / 1.202 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/1.036, allocations: 52.72 kB / 1.202 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/1.036, allocations: 19.45 kB / 1.203 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01154/1.048, allocations: 3.177 MB / 1.206 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/1.048, allocations: 35.69 kB / 1.206 GB, free: 3.34 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.934e-06/1.048, allocations: 0 / 1.206 GB, free: 3.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.04325/1.091, allocations: 14.87 MB / 1.22 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.091, allocations: 51.41 kB / 1.22 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/1.091, allocations: 89.86 kB / 1.22 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/1.091, allocations: 33.7 kB / 1.22 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/1.091, allocations: 80.14 kB / 1.22 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/1.091, allocations: 39.39 kB / 1.22 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/1.091, allocations: 29.72 kB / 1.22 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.965e-05/1.091, allocations: 322.9 kB / 1.221 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/1.091, allocations: 27.98 kB / 1.221 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.916e-05/1.091, allocations: 16.88 kB / 1.221 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/1.092, allocations: 79.59 kB / 1.221 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/1.092, allocations: 0 / 1.221 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002041/1.092, allocations: 101.6 kB / 1.221 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.092, allocations: 8 kB / 1.221 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.092, allocations: 3.312 kB / 1.221 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.092, allocations: 0 / 1.221 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/1.092, allocations: 27.94 kB / 1.221 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.092, allocations: 7.984 kB / 1.221 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/1.092, allocations: 0 / 1.221 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/1.092, allocations: 4 kB / 1.221 GB, free: 8.203 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.046e-05/1.092, allocations: 121.8 kB / 1.221 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/1.092, allocations: 4 kB / 1.221 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/1.092, allocations: 129.3 kB / 1.221 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.092, allocations: 4 kB / 1.221 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.092, allocations: 0 / 1.221 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.092, allocations: 3.984 kB / 1.221 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/1.093, allocations: 181.6 kB / 1.221 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.093, allocations: 0 / 1.221 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/1.093, allocations: 27.98 kB / 1.222 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/1.093, allocations: 0 / 1.222 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/1.093, allocations: 4 kB / 1.222 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.093, allocations: 0 / 1.222 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.093, allocations: 4 kB / 1.222 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/1.093, allocations: 153 kB / 1.222 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/1.093, allocations: 89.05 kB / 1.222 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/1.093, allocations: 7.938 kB / 1.222 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.093, allocations: 11.98 kB / 1.222 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/1.093, allocations: 11.98 kB / 1.222 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/1.093, allocations: 8 kB / 1.222 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.745e-05/1.093, allocations: 75.28 kB / 1.222 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.093, allocations: 0 / 1.222 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001768/1.095, allocations: 0.5663 MB / 1.222 GB, free: 6.715 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.002812/1.098, allocations: 352.5 kB / 1.223 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001908/1.098, allocations: 67.92 kB / 1.223 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/1.098, allocations: 0 / 1.223 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.378e-05/1.098, allocations: 39.92 kB / 1.223 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/1.098, allocations: 19.92 kB / 1.223 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/1.099, allocations: 374.3 kB / 1.223 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/1.099, allocations: 0.6853 MB / 1.224 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/1.099, allocations: 23.42 kB / 1.224 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/1.099, allocations: 0 / 1.224 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of Templates: time 0.02154/1.121, allocations: 14.33 MB / 1.238 GB, free: 6.781 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches