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.001679/0.001679, allocations: 110 kB / 18.93 MB, free: 2.945 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.001927/0.001927, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.47/1.47, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 443.4 MB / 0.7321 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.003151/0.003151, allocations: 55.91 kB / 1.061 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9759/0.979, allocations: 160.8 MB / 1.218 GB, free: 3.562 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002672/0.9817, allocations: 1.291 MB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.292/1.274, allocations: 147.5 MB / 1.364 GB, free: 1.801 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/1.274, allocations: 4 kB / 1.364 GB, free: 1.797 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/1.274, allocations: 3.938 kB / 1.364 GB, free: 1.793 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.432e-05/1.274, allocations: 7.922 kB / 1.364 GB, free: 1.785 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007514/1.275, allocations: 103.5 kB / 1.364 GB, free: 1.684 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/1.275, allocations: 35.86 kB / 1.364 GB, free: 1.648 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/1.275, allocations: 4 kB / 1.364 GB, free: 1.645 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.29e-05/1.275, allocations: 8 kB / 1.364 GB, free: 1.637 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/1.275, allocations: 23.91 kB / 1.364 GB, free: 1.613 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/1.275, allocations: 0 / 1.364 GB, free: 1.613 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000476/1.276, allocations: 79.83 kB / 1.364 GB, free: 1.535 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/1.276, allocations: 7.984 kB / 1.364 GB, free: 1.527 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/1.276, allocations: 19.92 kB / 1.364 GB, free: 1.508 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/1.276, allocations: 66.16 kB / 1.364 GB, free: 1.449 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.276, allocations: 0 / 1.364 GB, free: 1.449 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.276, allocations: 0 / 1.364 GB, free: 1.449 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.276, allocations: 0 / 1.364 GB, free: 1.449 MB / 1.061 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.0006732/1.277, allocations: 359.3 kB / 1.364 GB, free: 1.051 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.277, allocations: 8.031 kB / 1.364 GB, free: 1.043 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/1.277, allocations: 8.938 kB / 1.364 GB, free: 1.035 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/1.277, allocations: 168.4 kB / 1.365 GB, free: 0.832 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.672e-05/1.277, allocations: 7.938 kB / 1.365 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/1.277, allocations: 11.95 kB / 1.365 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/1.277, allocations: 45.69 kB / 1.365 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/1.277, allocations: 4 kB / 1.365 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/1.278, allocations: 4 kB / 1.365 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.278, allocations: 0 / 1.365 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/1.278, allocations: 19.91 kB / 1.365 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/1.278, allocations: 165.6 kB / 1.365 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/1.278, allocations: 50.5 kB / 1.365 GB, free: 476 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/1.278, allocations: 8.859 kB / 1.365 GB, free: 464 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/1.278, allocations: 8 kB / 1.365 GB, free: 456 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/1.278, allocations: 38.55 kB / 1.365 GB, free: 408 kB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/1.278, allocations: 0 / 1.365 GB, free: 408 kB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001345/1.28, allocations: 373.1 kB / 1.365 GB, free: 15.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/1.28, allocations: 51.41 kB / 1.365 GB, free: 15.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/1.28, allocations: 97.86 kB / 1.365 GB, free: 15.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/1.28, allocations: 29.7 kB / 1.365 GB, free: 15.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/1.28, allocations: 80.14 kB / 1.366 GB, free: 15.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.633e-05/1.28, allocations: 39.64 kB / 1.366 GB, free: 15.66 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/1.28, allocations: 33.7 kB / 1.366 GB, free: 15.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002871/1.28, allocations: 318.8 kB / 1.366 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/1.28, allocations: 19.98 kB / 1.366 GB, free: 15.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.845e-05/1.28, allocations: 33.7 kB / 1.366 GB, free: 15.24 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/1.281, allocations: 66.31 kB / 1.366 GB, free: 15.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.281, allocations: 3.938 kB / 1.366 GB, free: 15.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002711/1.281, allocations: 93.66 kB / 1.366 GB, free: 15.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.281, allocations: 4 kB / 1.366 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.281, allocations: 3.938 kB / 1.366 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/1.281, allocations: 4 kB / 1.366 GB, free: 15.06 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/1.281, allocations: 23.94 kB / 1.366 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/1.281, allocations: 3.984 kB / 1.366 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/1.281, allocations: 4 kB / 1.366 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/1.281, allocations: 4 kB / 1.366 GB, free: 15.02 MB / 1.076 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.0001414/1.281, allocations: 125.7 kB / 1.366 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/1.281, allocations: 7.953 kB / 1.366 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.298e-05/1.281, allocations: 11.91 kB / 1.366 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.281, allocations: 0 / 1.366 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.281, allocations: 7.984 kB / 1.366 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.282, allocations: 0 / 1.366 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/1.282, allocations: 177.6 kB / 1.366 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.282, allocations: 3.938 kB / 1.366 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/1.282, allocations: 27.98 kB / 1.366 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.282, allocations: 0 / 1.366 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/1.282, allocations: 4 kB / 1.366 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.282, allocations: 0 / 1.366 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.282, allocations: 4 kB / 1.367 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/1.282, allocations: 128.9 kB / 1.367 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/1.283, allocations: 89.14 kB / 1.367 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/1.283, allocations: 0 / 1.367 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/1.283, allocations: 8 kB / 1.367 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/1.283, allocations: 15.92 kB / 1.367 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/1.283, allocations: 0 / 1.367 GB, free: 14.33 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.04e-05/1.283, allocations: 79.28 kB / 1.367 GB, free: 14.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.283, allocations: 0 / 1.367 GB, free: 14.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003398/1.283, allocations: 19.94 kB / 1.367 GB, free: 14.23 MB / 1.076 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.0001596/1.283, allocations: 103.2 kB / 1.367 GB, free: 14.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002081/1.283, allocations: 52.02 kB / 1.367 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.283, allocations: 4 kB / 1.367 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.872e-05/1.284, allocations: 27.98 kB / 1.367 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/1.284, allocations: 12.38 kB / 1.367 GB, free: 14.03 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/1.285, allocations: 329.3 kB / 1.367 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/1.285, allocations: 0.6846 MB / 1.368 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.545e-05/1.285, allocations: 12.66 kB / 1.368 GB, free: 12.95 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/1.285, allocations: 11.44 kB / 1.368 GB, free: 12.94 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.285, allocations: 3.938 kB / 1.368 GB, free: 12.94 MB / 1.076 GB Notification: Performance of Templates: time 0.004941/1.29, allocations: 0.6939 MB / 1.369 GB, free: 12.25 MB / 1.076 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.019235271029174]