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.001793/0.001793, allocations: 113.3 kB / 17.13 MB, free: 5.926 MB / 14.72 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.002245/0.002245, allocations: 204 kB / 20.09 MB, free: 2.977 MB / 14.72 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.448/1.448, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.845/2.845, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 75.88 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9694/0.9714, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001931/0.9733, allocations: 1.291 MB / 1.323 GB, free: 24.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1887/1.162, allocations: 150.3 MB / 1.47 GB, free: 10.29 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/1.162, allocations: 0 / 1.47 GB, free: 10.29 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/1.162, allocations: 0 / 1.47 GB, free: 10.29 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/1.162, allocations: 8.797 kB / 1.47 GB, free: 10.28 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/1.163, allocations: 99.2 kB / 1.47 GB, free: 10.21 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.374e-05/1.163, allocations: 27.33 kB / 1.47 GB, free: 10.2 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/1.163, allocations: 1.875 kB / 1.47 GB, free: 10.2 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.656e-05/1.163, allocations: 28.05 kB / 1.47 GB, free: 10.18 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 8.046e-05/1.163, allocations: 10.11 kB / 1.47 GB, free: 10.17 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/1.163, allocations: 1.281 kB / 1.47 GB, free: 10.17 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/1.163, allocations: 86.88 kB / 1.47 GB, free: 10.12 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/1.163, allocations: 6.375 kB / 1.47 GB, free: 10.12 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/1.163, allocations: 18.08 kB / 1.47 GB, free: 10.11 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/1.163, allocations: 63.23 kB / 1.47 GB, free: 10.08 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.163, allocations: 0 / 1.47 GB, free: 10.08 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.485e-06/1.163, allocations: 1.062 kB / 1.47 GB, free: 10.08 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.019e-05/1.163, allocations: 3.938 kB / 1.47 GB, free: 10.08 MB / 1.154 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.0004766/1.164, allocations: 361.9 kB / 1.471 GB, free: 9.695 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.164, allocations: 8.625 kB / 1.471 GB, free: 9.695 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/1.164, allocations: 9.094 kB / 1.471 GB, free: 9.695 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/1.164, allocations: 165.9 kB / 1.471 GB, free: 9.496 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/1.164, allocations: 5.312 kB / 1.471 GB, free: 9.492 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/1.164, allocations: 6.906 kB / 1.471 GB, free: 9.488 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/1.164, allocations: 49.53 kB / 1.471 GB, free: 9.445 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.165, allocations: 7.984 kB / 1.471 GB, free: 9.438 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/1.165, allocations: 1.219 kB / 1.471 GB, free: 9.438 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.165, allocations: 1.406 kB / 1.471 GB, free: 9.438 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/1.165, allocations: 17.14 kB / 1.471 GB, free: 9.43 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/1.165, allocations: 168.7 kB / 1.471 GB, free: 9.223 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 9.897e-05/1.165, allocations: 52.5 kB / 1.471 GB, free: 9.18 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/1.165, allocations: 15.02 kB / 1.471 GB, free: 9.168 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/1.165, allocations: 1.188 kB / 1.471 GB, free: 9.168 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.165, allocations: 44.02 kB / 1.471 GB, free: 9.117 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/1.165, allocations: 0 / 1.471 GB, free: 9.117 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.0007609/1.166, allocations: 370.4 kB / 1.472 GB, free: 8.793 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.166, allocations: 52.56 kB / 1.472 GB, free: 8.73 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/1.166, allocations: 91.45 kB / 1.472 GB, free: 8.633 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/1.166, allocations: 34.92 kB / 1.472 GB, free: 8.594 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/1.166, allocations: 81.64 kB / 1.472 GB, free: 8.512 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/1.166, allocations: 40.12 kB / 1.472 GB, free: 8.477 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/1.166, allocations: 30.67 kB / 1.472 GB, free: 8.449 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.166, allocations: 320.3 kB / 1.472 GB, free: 8.129 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.55e-05/1.166, allocations: 18.27 kB / 1.472 GB, free: 8.121 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.335e-05/1.166, allocations: 39.67 kB / 1.472 GB, free: 8.09 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.471e-05/1.166, allocations: 60.25 kB / 1.472 GB, free: 8.051 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.166, allocations: 1.188 kB / 1.472 GB, free: 8.051 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001458/1.166, allocations: 101.1 kB / 1.472 GB, free: 7.984 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.166, allocations: 5.375 kB / 1.472 GB, free: 7.984 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.166, allocations: 0 / 1.472 GB, free: 7.984 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/1.166, allocations: 1.031 kB / 1.472 GB, free: 7.984 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/1.167, allocations: 27.42 kB / 1.472 GB, free: 7.977 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.167, allocations: 0 / 1.472 GB, free: 7.977 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/1.167, allocations: 5.359 kB / 1.472 GB, free: 7.973 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/1.167, allocations: 2.875 kB / 1.472 GB, free: 7.973 MB / 1.154 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 9.028e-05/1.167, allocations: 128.6 kB / 1.473 GB, free: 7.84 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/1.167, allocations: 7.109 kB / 1.473 GB, free: 7.836 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/1.167, allocations: 13.28 kB / 1.473 GB, free: 7.824 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/1.167, allocations: 1.312 kB / 1.473 GB, free: 7.824 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.167, allocations: 0 / 1.473 GB, free: 7.824 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.167, allocations: 0 / 1.473 GB, free: 7.824 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/1.167, allocations: 176.3 kB / 1.473 GB, free: 7.613 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.167, allocations: 0 / 1.473 GB, free: 7.613 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/1.167, allocations: 22.73 kB / 1.473 GB, free: 7.609 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.167, allocations: 7.938 kB / 1.473 GB, free: 7.602 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/1.167, allocations: 5.406 kB / 1.473 GB, free: 7.598 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.167, allocations: 1.156 kB / 1.473 GB, free: 7.598 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.167, allocations: 0 / 1.473 GB, free: 7.598 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/1.167, allocations: 127.6 kB / 1.473 GB, free: 7.5 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/1.167, allocations: 93 kB / 1.473 GB, free: 7.395 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/1.167, allocations: 1.375 kB / 1.473 GB, free: 7.395 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/1.167, allocations: 1.312 kB / 1.473 GB, free: 7.395 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/1.168, allocations: 15.42 kB / 1.473 GB, free: 7.383 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/1.168, allocations: 2.562 kB / 1.473 GB, free: 7.383 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.18e-05/1.168, allocations: 76.28 kB / 1.473 GB, free: 7.309 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.168, allocations: 1.375 kB / 1.473 GB, free: 7.309 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001952/1.168, allocations: 23.81 kB / 1.473 GB, free: 7.297 MB / 1.154 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.0001113/1.168, allocations: 100.8 kB / 1.473 GB, free: 7.203 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0001362/1.168, allocations: 53.39 kB / 1.473 GB, free: 7.184 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.168, allocations: 4.094 kB / 1.473 GB, free: 7.18 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/1.168, allocations: 29.27 kB / 1.473 GB, free: 7.168 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/1.168, allocations: 16 kB / 1.473 GB, free: 7.156 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/1.169, allocations: 349.8 kB / 1.474 GB, free: 6.844 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/1.169, allocations: 0.6872 MB / 1.474 GB, free: 6.141 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/1.169, allocations: 13.41 kB / 1.474 GB, free: 6.133 MB / 1.154 GB Notification: Performance of SimCode: time 3.01e-07/1.169, allocations: 0 / 1.474 GB, free: 6.133 MB / 1.154 GB Notification: Performance of Templates: time 0.002427/1.172, allocations: 0.8407 MB / 1.475 GB, free: 5.703 MB / 1.154 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.16693310700066]