Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 111.1 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.731/2.731, allocations: 437.1 MB / 0.7177 GB, free: 4.512 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2902, allocations: 151.6 MB / 1.176 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002362/0.2926, allocations: 1.267 MB / 1.177 GB, free: 4.66 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8195/1.112, allocations: 147 MB / 1.321 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/1.112, allocations: 0 / 1.321 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/1.112, allocations: 2.359 kB / 1.321 GB, free: 13.63 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/1.112, allocations: 5.297 kB / 1.321 GB, free: 13.62 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/1.113, allocations: 96.22 kB / 1.321 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.681e-05/1.113, allocations: 28.77 kB / 1.321 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/1.113, allocations: 6.906 kB / 1.321 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.302e-05/1.113, allocations: 21.19 kB / 1.321 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/1.113, allocations: 12.64 kB / 1.321 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/1.113, allocations: 4.844 kB / 1.321 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/1.113, allocations: 76.55 kB / 1.321 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/1.113, allocations: 15.03 kB / 1.321 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.709e-05/1.113, allocations: 11.41 kB / 1.321 GB, free: 13.57 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/1.113, allocations: 64.91 kB / 1.321 GB, free: 13.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/1.113, allocations: 0 / 1.321 GB, free: 13.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 8.82e-07/1.113, allocations: 1.5 kB / 1.321 GB, free: 13.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.709e-06/1.113, allocations: 4 kB / 1.321 GB, free: 13.56 MB / 1.014 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.0005209/1.114, allocations: 355.9 kB / 1.321 GB, free: 13.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/1.114, allocations: 13.05 kB / 1.321 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/1.114, allocations: 11.78 kB / 1.321 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/1.114, allocations: 162.3 kB / 1.321 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/1.114, allocations: 10.22 kB / 1.321 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/1.114, allocations: 10.95 kB / 1.321 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/1.115, allocations: 55.06 kB / 1.322 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.115, allocations: 3.984 kB / 1.322 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/1.115, allocations: 4.531 kB / 1.322 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.115, allocations: 0.8438 kB / 1.322 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/1.115, allocations: 12.7 kB / 1.322 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/1.115, allocations: 163.9 kB / 1.322 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.436e-05/1.115, allocations: 53.66 kB / 1.322 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/1.115, allocations: 13.14 kB / 1.322 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/1.115, allocations: 9.859 kB / 1.322 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/1.115, allocations: 35.89 kB / 1.322 GB, free: 12.68 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/1.115, allocations: 0 / 1.322 GB, free: 12.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=11): time 0.0007681/1.116, allocations: 377.6 kB / 1.322 GB, free: 12.42 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/1.116, allocations: 52.72 kB / 1.322 GB, free: 12.36 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/1.116, allocations: 96.69 kB / 1.322 GB, free: 12.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/1.116, allocations: 34.55 kB / 1.322 GB, free: 12.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/1.116, allocations: 80.14 kB / 1.322 GB, free: 12.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/1.116, allocations: 43.41 kB / 1.322 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/1.116, allocations: 27.23 kB / 1.323 GB, free: 12.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.116, allocations: 316.9 kB / 1.323 GB, free: 11.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/1.116, allocations: 24.73 kB / 1.323 GB, free: 11.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/1.116, allocations: 46.38 kB / 1.323 GB, free: 11.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.762e-05/1.116, allocations: 54.92 kB / 1.323 GB, free: 11.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/1.116, allocations: 0 / 1.323 GB, free: 11.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001308/1.117, allocations: 96.92 kB / 1.323 GB, free: 11.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.117, allocations: 5.484 kB / 1.323 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/1.117, allocations: 1.125 kB / 1.323 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.117, allocations: 2.188 kB / 1.323 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/1.117, allocations: 19.58 kB / 1.323 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.117, allocations: 1.125 kB / 1.323 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/1.117, allocations: 4.891 kB / 1.323 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/1.117, allocations: 7.031 kB / 1.323 GB, free: 11.7 MB / 1.014 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.0001055/1.117, allocations: 125.2 kB / 1.323 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/1.117, allocations: 7.266 kB / 1.323 GB, free: 11.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/1.117, allocations: 11.97 kB / 1.323 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/1.117, allocations: 2.781 kB / 1.323 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.117, allocations: 0 / 1.323 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.117, allocations: 0.7969 kB / 1.323 GB, free: 11.56 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/1.117, allocations: 175.7 kB / 1.323 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/1.117, allocations: 4.141 kB / 1.323 GB, free: 11.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/1.117, allocations: 23.83 kB / 1.323 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/1.117, allocations: 1.797 kB / 1.323 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/1.117, allocations: 1.062 kB / 1.323 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.092e-06/1.117, allocations: 1.125 kB / 1.323 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.117, allocations: 4.734 kB / 1.323 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/1.118, allocations: 136.6 kB / 1.324 GB, free: 11.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.852e-05/1.118, allocations: 83.38 kB / 1.324 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/1.118, allocations: 4.188 kB / 1.324 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/1.118, allocations: 8.391 kB / 1.324 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/1.118, allocations: 9 kB / 1.324 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/1.118, allocations: 3.109 kB / 1.324 GB, free: 11.19 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.877e-05/1.118, allocations: 76.5 kB / 1.324 GB, free: 11.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.118, allocations: 0 / 1.324 GB, free: 11.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0001963/1.118, allocations: 15.97 kB / 1.324 GB, free: 11.11 MB / 1.014 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.0001521/1.118, allocations: 105.6 kB / 1.324 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002055/1.118, allocations: 64.69 kB / 1.324 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.118, allocations: 0 / 1.324 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-05/1.119, allocations: 32.77 kB / 1.324 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/1.119, allocations: 10.06 kB / 1.324 GB, free: 11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/1.119, allocations: 347.8 kB / 1.324 GB, free: 10.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/1.12, allocations: 0.6854 MB / 1.325 GB, free: 10.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/1.12, allocations: 12.75 kB / 1.325 GB, free: 10.02 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/1.12, allocations: 1.188 kB / 1.325 GB, free: 10.02 MB / 1.014 GB Notification: Performance of Templates: time 0.002721/1.123, allocations: 0.8438 MB / 1.326 GB, free: 9.957 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.004084625048563]