Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001324/0.001324, allocations: 114.3 kB / 17.08 MB, free: 5.988 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.001298/0.001298, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.399/1.399, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 1.103 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8802, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002267/0.8825, allocations: 1.28 MB / 1.264 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1866/1.069, allocations: 147 MB / 1.407 GB, free: 10.6 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/1.069, allocations: 0 / 1.407 GB, free: 10.6 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 2.53e-05/1.069, allocations: 0 / 1.407 GB, free: 10.6 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/1.069, allocations: 5.344 kB / 1.407 GB, free: 10.6 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/1.07, allocations: 97.17 kB / 1.407 GB, free: 10.52 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 8.809e-05/1.07, allocations: 36.44 kB / 1.407 GB, free: 10.5 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.788e-05/1.07, allocations: 3.062 kB / 1.407 GB, free: 10.5 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/1.07, allocations: 10.66 kB / 1.407 GB, free: 10.5 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/1.07, allocations: 17.41 kB / 1.408 GB, free: 10.49 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/1.07, allocations: 2.75 kB / 1.408 GB, free: 10.49 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/1.07, allocations: 78.2 kB / 1.408 GB, free: 10.45 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/1.07, allocations: 8.984 kB / 1.408 GB, free: 10.44 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/1.07, allocations: 22.61 kB / 1.408 GB, free: 10.42 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0001741/1.071, allocations: 66.72 kB / 1.408 GB, free: 10.39 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/1.071, allocations: 1.094 kB / 1.408 GB, free: 10.39 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.373e-06/1.071, allocations: 0 / 1.408 GB, free: 10.39 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.019e-06/1.071, allocations: 0 / 1.408 GB, free: 10.39 MB / 1.107 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.0004636/1.071, allocations: 354 kB / 1.408 GB, free: 10.02 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/1.071, allocations: 9.312 kB / 1.408 GB, free: 10.02 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/1.071, allocations: 17.22 kB / 1.408 GB, free: 10.01 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.072, allocations: 164.4 kB / 1.408 GB, free: 9.812 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/1.072, allocations: 6.125 kB / 1.408 GB, free: 9.809 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/1.072, allocations: 11.47 kB / 1.408 GB, free: 9.801 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/1.072, allocations: 53.44 kB / 1.408 GB, free: 9.754 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.072, allocations: 0 / 1.408 GB, free: 9.754 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.072, allocations: 5.156 kB / 1.408 GB, free: 9.75 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.072, allocations: 0.9375 kB / 1.408 GB, free: 9.75 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.847e-05/1.072, allocations: 17.39 kB / 1.408 GB, free: 9.742 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002007/1.072, allocations: 168.3 kB / 1.408 GB, free: 9.535 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 9.266e-05/1.072, allocations: 55.75 kB / 1.409 GB, free: 9.492 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/1.072, allocations: 15.58 kB / 1.409 GB, free: 9.48 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/1.072, allocations: 5.266 kB / 1.409 GB, free: 9.477 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/1.072, allocations: 36.12 kB / 1.409 GB, free: 9.434 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/1.072, allocations: 0 / 1.409 GB, free: 9.434 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.0007352/1.073, allocations: 378.5 kB / 1.409 GB, free: 9.102 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/1.073, allocations: 52.75 kB / 1.409 GB, free: 9.039 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/1.073, allocations: 95.27 kB / 1.409 GB, free: 8.938 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/1.073, allocations: 27.08 kB / 1.409 GB, free: 8.906 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/1.073, allocations: 84.12 kB / 1.409 GB, free: 8.82 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/1.073, allocations: 40.69 kB / 1.409 GB, free: 8.785 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/1.073, allocations: 29.83 kB / 1.409 GB, free: 8.758 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.073, allocations: 320.4 kB / 1.41 GB, free: 8.438 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/1.073, allocations: 22.73 kB / 1.41 GB, free: 8.426 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.395e-05/1.074, allocations: 37.2 kB / 1.41 GB, free: 8.398 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.673e-05/1.074, allocations: 56.06 kB / 1.41 GB, free: 8.363 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/1.074, allocations: 0 / 1.41 GB, free: 8.363 MB / 1.107 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001433/1.074, allocations: 101.1 kB / 1.41 GB, free: 8.297 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.074, allocations: 4.812 kB / 1.41 GB, free: 8.297 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.074, allocations: 1.344 kB / 1.41 GB, free: 8.297 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/1.074, allocations: 5.094 kB / 1.41 GB, free: 8.293 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/1.074, allocations: 21.36 kB / 1.41 GB, free: 8.289 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.074, allocations: 2.375 kB / 1.41 GB, free: 8.289 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/1.074, allocations: 4 kB / 1.41 GB, free: 8.285 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/1.074, allocations: 3.5 kB / 1.41 GB, free: 8.285 MB / 1.107 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.358e-05/1.074, allocations: 124.1 kB / 1.41 GB, free: 8.156 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/1.074, allocations: 3.5 kB / 1.41 GB, free: 8.156 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/1.074, allocations: 9.531 kB / 1.41 GB, free: 8.152 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/1.074, allocations: 4 kB / 1.41 GB, free: 8.148 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.074, allocations: 1.312 kB / 1.41 GB, free: 8.148 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.074, allocations: 0 / 1.41 GB, free: 8.148 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/1.074, allocations: 183.6 kB / 1.41 GB, free: 7.93 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.074, allocations: 0 / 1.41 GB, free: 7.93 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/1.075, allocations: 23.27 kB / 1.41 GB, free: 7.926 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/1.075, allocations: 0 / 1.41 GB, free: 7.926 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/1.075, allocations: 1.469 kB / 1.41 GB, free: 7.926 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.075, allocations: 0 / 1.41 GB, free: 7.926 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.075, allocations: 1.375 kB / 1.41 GB, free: 7.926 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/1.075, allocations: 143.6 kB / 1.41 GB, free: 7.812 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/1.075, allocations: 84.73 kB / 1.41 GB, free: 7.715 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/1.075, allocations: 3.938 kB / 1.41 GB, free: 7.711 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/1.075, allocations: 6.344 kB / 1.41 GB, free: 7.707 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/1.075, allocations: 11.64 kB / 1.41 GB, free: 7.699 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/1.075, allocations: 2.688 kB / 1.41 GB, free: 7.699 MB / 1.107 GB Notification: Performance of sorting global known variables: time 3.776e-05/1.075, allocations: 76.41 kB / 1.41 GB, free: 7.625 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.075, allocations: 96 / 1.41 GB, free: 7.625 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001995/1.075, allocations: 24.88 kB / 1.41 GB, free: 7.613 MB / 1.107 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.0001157/1.075, allocations: 104.1 kB / 1.411 GB, free: 7.516 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001349/1.076, allocations: 52.14 kB / 1.411 GB, free: 7.5 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.076, allocations: 1.531 kB / 1.411 GB, free: 7.5 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/1.076, allocations: 33.27 kB / 1.411 GB, free: 7.484 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/1.076, allocations: 11.05 kB / 1.411 GB, free: 7.48 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/1.076, allocations: 360.9 kB / 1.411 GB, free: 7.156 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/1.077, allocations: 0.6924 MB / 1.412 GB, free: 6.449 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/1.077, allocations: 12.28 kB / 1.412 GB, free: 6.441 MB / 1.107 GB Notification: Performance of SimCode: time 2.21e-07/1.077, allocations: 0 / 1.412 GB, free: 6.441 MB / 1.107 GB Notification: Performance of Templates: time 0.002526/1.079, allocations: 0.8357 MB / 1.413 GB, free: 6.016 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.91155757685192]