Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 79.7 kB / 20.23 MB, free: 4.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.029/3.029, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0.5469 kB / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.971e-05/3.17e-05, allocations: 3.094 kB / 0.8108 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003783/0.003815, allocations: 1.311 MB / 0.812 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.234/0.2378, allocations: 142.5 MB / 0.9512 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.2378, allocations: 3.938 kB / 0.9512 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.2378, allocations: 3.984 kB / 0.9512 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.056e-05/0.2379, allocations: 4 kB / 0.9512 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.2383, allocations: 95.42 kB / 0.9513 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.287e-05/0.2384, allocations: 35.84 kB / 0.9514 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.793e-05/0.2385, allocations: 7.984 kB / 0.9514 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.968e-05/0.2385, allocations: 19.98 kB / 0.9514 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.217e-05/0.2386, allocations: 23.91 kB / 0.9514 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.2386, allocations: 0 / 0.9514 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.2389, allocations: 75.77 kB / 0.9515 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.2389, allocations: 11.97 kB / 0.9515 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.2389, allocations: 8 kB / 0.9515 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2391, allocations: 79.67 kB / 0.9516 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2391, allocations: 0 / 0.9516 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2391, allocations: 0 / 0.9516 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2392, allocations: 0 / 0.9516 GB, free: 1.504 MB / 0.9011 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.0005371/0.2397, allocations: 380.2 kB / 0.9519 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2397, allocations: 8.031 kB / 0.952 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.24, allocations: 24.77 kB / 0.952 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2401, allocations: 104.6 kB / 0.9521 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2401, allocations: 8.375 kB / 0.9521 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.2401, allocations: 8.359 kB / 0.9521 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.2403, allocations: 130.7 kB / 0.9522 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2404, allocations: 0 / 0.9522 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2404, allocations: 0 / 0.9522 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2404, allocations: 4 kB / 0.9522 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.717e-05/0.2404, allocations: 15.92 kB / 0.9522 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.2406, allocations: 132.5 kB / 0.9524 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.2407, allocations: 51.05 kB / 0.9524 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.2408, allocations: 19.69 kB / 0.9524 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.2408, allocations: 0 / 0.9524 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.2408, allocations: 45.31 kB / 0.9525 GB, free: 456 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.2409, allocations: 3.938 kB / 0.9525 GB, free: 452 kB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0008377/0.2417, allocations: 305.8 kB / 0.9528 GB, free: 108 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.2417, allocations: 55.41 kB / 0.9528 GB, free: 40 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2419, allocations: 153.9 kB / 0.953 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.2419, allocations: 29.7 kB / 0.953 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.242, allocations: 126.9 kB / 0.9531 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.242, allocations: 39.64 kB / 0.9532 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.2421, allocations: 43.36 kB / 0.9532 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002675/0.2424, allocations: 492.1 kB / 0.9537 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.2424, allocations: 19.98 kB / 0.9537 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.2425, allocations: 47.36 kB / 0.9537 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.2426, allocations: 67.42 kB / 0.9538 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2426, allocations: 4 kB / 0.9538 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001657/0.2428, allocations: 101.5 kB / 0.9539 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2428, allocations: 7.984 kB / 0.9539 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2428, allocations: 0 / 0.9539 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.2428, allocations: 4 kB / 0.9539 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.2429, allocations: 20 kB / 0.9539 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2429, allocations: 0.7031 kB / 0.9539 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.243, allocations: 7.938 kB / 0.9539 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.243, allocations: 0 / 0.9539 GB, free: 14.83 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001464/0.2431, allocations: 168.5 kB / 0.9541 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.2431, allocations: 19.94 kB / 0.9541 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.2432, allocations: 7.969 kB / 0.9541 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2432, allocations: 0 / 0.9541 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2432, allocations: 0 / 0.9541 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.2432, allocations: 0 / 0.9541 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2433, allocations: 132.6 kB / 0.9542 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2433, allocations: 0 / 0.9542 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.2435, allocations: 23.94 kB / 0.9543 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2435, allocations: 0 / 0.9543 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.2435, allocations: 8 kB / 0.9543 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2435, allocations: 0 / 0.9543 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2435, allocations: 7.984 kB / 0.9543 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.244, allocations: 148.2 kB / 0.9544 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.2441, allocations: 11.89 kB / 0.9544 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2441, allocations: 7.984 kB / 0.9544 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.2442, allocations: 0 / 0.9544 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.2442, allocations: 7.984 kB / 0.9545 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.2442, allocations: 8.047 kB / 0.9545 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.98e-05/0.2443, allocations: 119.2 kB / 0.9546 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.2443, allocations: 0 / 0.9546 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001965/0.2445, allocations: 16.09 kB / 0.9546 GB, free: 14.09 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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.0001358/0.2446, allocations: 107.2 kB / 0.9547 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.2448, allocations: 63.75 kB / 0.9548 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2448, allocations: 0 / 0.9548 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.2448, allocations: 43.61 kB / 0.9548 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2451, allocations: 23.69 kB / 0.9548 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.2457, allocations: 269.7 kB / 0.9551 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.981e-05/0.2458, allocations: 67.34 kB / 0.9551 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.19e-05/0.2458, allocations: 16.7 kB / 0.9552 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.2459, allocations: 12.5 kB / 0.9552 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of SimCode: time 4.11e-07/0.2459, allocations: 0 / 0.9552 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.003899/0.2498, allocations: 0.8485 MB / 0.956 GB, free: 12.61 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.404041989007965]