Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001193/0.001193, allocations: 102.2 kB / 16.27 MB, free: 6 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.00122/0.00122, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.14 kB / 0.8132 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2576, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002443/0.2601, allocations: 1.262 MB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.667/0.9271, allocations: 137.7 MB / 1.086 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.9272, allocations: 0.6562 kB / 1.086 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.9272, allocations: 2.047 kB / 1.086 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.9273, allocations: 8.016 kB / 1.086 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.9289, allocations: 465.3 kB / 1.086 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.929, allocations: 43.25 kB / 1.086 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.929, allocations: 4.203 kB / 1.086 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.9291, allocations: 26.34 kB / 1.086 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.9291, allocations: 18.38 kB / 1.087 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.9292, allocations: 6.312 kB / 1.087 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.9308, allocations: 0.8006 MB / 1.087 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.9308, allocations: 11.31 kB / 1.087 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.9309, allocations: 18.19 kB / 1.087 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007338/0.9316, allocations: 450.9 kB / 1.088 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9316, allocations: 0 / 1.088 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9316, allocations: 0.9688 kB / 1.088 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.9316, allocations: 1.062 kB / 1.088 GB, free: 7.363 MB / 0.8575 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.0007798/0.9324, allocations: 375.1 kB / 1.088 GB, free: 23 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.9325, allocations: 9.219 kB / 1.088 GB, free: 23 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.9327, allocations: 11.16 kB / 1.088 GB, free: 23 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.9328, allocations: 163.3 kB / 1.088 GB, free: 22.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.9328, allocations: 3.469 kB / 1.088 GB, free: 22.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.9328, allocations: 12.41 kB / 1.088 GB, free: 22.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.933, allocations: 62.44 kB / 1.088 GB, free: 22.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.933, allocations: 0.9844 kB / 1.088 GB, free: 22.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.933, allocations: 3.375 kB / 1.088 GB, free: 22.77 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.933, allocations: 2.078 kB / 1.088 GB, free: 22.77 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/0.9331, allocations: 20.39 kB / 1.088 GB, free: 22.77 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.9333, allocations: 164 kB / 1.089 GB, free: 22.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.9334, allocations: 52.78 kB / 1.089 GB, free: 22.55 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.004e-05/0.9334, allocations: 19.86 kB / 1.089 GB, free: 22.55 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/0.9469, allocations: 3.169 MB / 1.092 GB, free: 22.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.947, allocations: 37.53 kB / 1.092 GB, free: 22.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.947, allocations: 0.9375 kB / 1.092 GB, free: 22.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.04634/0.9933, allocations: 14.87 MB / 1.106 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.9934, allocations: 61.73 kB / 1.106 GB, free: 20.22 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.126e-05/0.9935, allocations: 93.33 kB / 1.106 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.9935, allocations: 27.08 kB / 1.106 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.9935, allocations: 83.95 kB / 1.107 GB, free: 20.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.9936, allocations: 35.58 kB / 1.107 GB, free: 19.99 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.9936, allocations: 30.17 kB / 1.107 GB, free: 19.97 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.9937, allocations: 317.8 kB / 1.107 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/0.9938, allocations: 23.64 kB / 1.107 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.686e-05/0.9938, allocations: 27.94 kB / 1.107 GB, free: 19.65 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.994, allocations: 61.2 kB / 1.107 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.994, allocations: 5.5 kB / 1.107 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000219/0.9942, allocations: 108.2 kB / 1.107 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.9942, allocations: 5.375 kB / 1.107 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9942, allocations: 0 / 1.107 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.9943, allocations: 2.172 kB / 1.107 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.9944, allocations: 25.67 kB / 1.107 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.9944, allocations: 4.188 kB / 1.107 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.9944, allocations: 6.609 kB / 1.107 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.9944, allocations: 9.141 kB / 1.107 GB, free: 19.6 MB / 0.8731 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 7.856e-05/0.9945, allocations: 120 kB / 1.107 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.9946, allocations: 3.625 kB / 1.107 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.9949, allocations: 122.4 kB / 1.107 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9949, allocations: 5 kB / 1.107 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.9949, allocations: 0 / 1.107 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.9949, allocations: 1.875 kB / 1.107 GB, free: 19.44 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.995, allocations: 178.2 kB / 1.108 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.995, allocations: 1.562 kB / 1.108 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.9952, allocations: 27.73 kB / 1.108 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9952, allocations: 0.6562 kB / 1.108 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.9952, allocations: 3.328 kB / 1.108 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9952, allocations: 1.203 kB / 1.108 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9952, allocations: 2 kB / 1.108 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.9955, allocations: 162.9 kB / 1.108 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.9956, allocations: 88.94 kB / 1.108 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.9956, allocations: 1.984 kB / 1.108 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.9957, allocations: 14.38 kB / 1.108 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.9958, allocations: 6.469 kB / 1.108 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.9958, allocations: 11.36 kB / 1.108 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.007e-05/0.9958, allocations: 80.66 kB / 1.108 GB, free: 19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.82e-07/0.9958, allocations: 3.938 kB / 1.108 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002813/0.9987, allocations: 0.5669 MB / 1.109 GB, free: 18.97 MB / 0.8731 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.003169/1.002, allocations: 365.7 kB / 1.109 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002043/1.002, allocations: 71.33 kB / 1.109 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.002, allocations: 0 / 1.109 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/1.002, allocations: 36.02 kB / 1.109 GB, free: 18.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/1.002, allocations: 13.97 kB / 1.109 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/1.003, allocations: 370 kB / 1.109 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/1.003, allocations: 0.6903 MB / 1.11 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/1.003, allocations: 20.34 kB / 1.11 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/1.003, allocations: 0 / 1.11 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.02984/1.033, allocations: 14.33 MB / 1.124 GB, free: 16.96 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches