Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007617/0.007617, allocations: 95.44 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 205 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 67.88 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3555, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002588/0.3581, allocations: 1.275 MB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9246/1.283, allocations: 147.4 MB / 1.366 GB, free: 344 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/1.283, allocations: 3.938 kB / 1.366 GB, free: 340 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.16e-05/1.283, allocations: 2.438 kB / 1.366 GB, free: 340 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/1.283, allocations: 9.547 kB / 1.366 GB, free: 332 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/1.283, allocations: 97.55 kB / 1.366 GB, free: 280 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/1.283, allocations: 32.02 kB / 1.366 GB, free: 268 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/1.284, allocations: 6.609 kB / 1.366 GB, free: 264 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/1.284, allocations: 13.55 kB / 1.366 GB, free: 260 kB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.962e-05/1.284, allocations: 21.16 kB / 1.366 GB, free: 248 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/1.284, allocations: 1.625 kB / 1.366 GB, free: 248 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/1.284, allocations: 77.44 kB / 1.366 GB, free: 216 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/1.284, allocations: 8.359 kB / 1.366 GB, free: 212 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/1.284, allocations: 23.12 kB / 1.366 GB, free: 200 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/1.284, allocations: 63.55 kB / 1.366 GB, free: 180 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.284, allocations: 1.875 kB / 1.366 GB, free: 180 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/1.284, allocations: 0 / 1.366 GB, free: 180 kB / 1.061 GB Notification: Performance of Transformations before backend: time 6.803e-06/1.284, allocations: 0 / 1.366 GB, free: 180 kB / 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.0005164/1.285, allocations: 357 kB / 1.366 GB, free: 15.8 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/1.285, allocations: 9.75 kB / 1.366 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/1.285, allocations: 15.33 kB / 1.366 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/1.285, allocations: 166.7 kB / 1.367 GB, free: 15.6 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/1.285, allocations: 10.25 kB / 1.367 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/1.285, allocations: 3.219 kB / 1.367 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/1.285, allocations: 52.23 kB / 1.367 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.285, allocations: 0 / 1.367 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/1.285, allocations: 0.8125 kB / 1.367 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.285, allocations: 1 kB / 1.367 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.812e-05/1.285, allocations: 17.55 kB / 1.367 GB, free: 15.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002253/1.286, allocations: 170.6 kB / 1.367 GB, free: 15.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/1.286, allocations: 50.34 kB / 1.367 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/1.286, allocations: 16.11 kB / 1.367 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/1.286, allocations: 5.25 kB / 1.367 GB, free: 15.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/1.286, allocations: 32.86 kB / 1.367 GB, free: 15.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/1.286, allocations: 0 / 1.367 GB, free: 15.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.0008625/1.287, allocations: 378.6 kB / 1.367 GB, free: 14.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.287, allocations: 57.55 kB / 1.367 GB, free: 14.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/1.287, allocations: 93.33 kB / 1.367 GB, free: 14.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/1.287, allocations: 30.73 kB / 1.368 GB, free: 14.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/1.287, allocations: 80.14 kB / 1.368 GB, free: 14.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/1.287, allocations: 43.91 kB / 1.368 GB, free: 14.63 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/1.287, allocations: 27.88 kB / 1.368 GB, free: 14.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.287, allocations: 326.5 kB / 1.368 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/1.287, allocations: 17.78 kB / 1.368 GB, free: 14.28 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/1.287, allocations: 39.89 kB / 1.368 GB, free: 14.26 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/1.287, allocations: 57.67 kB / 1.368 GB, free: 14.22 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.287, allocations: 1.984 kB / 1.368 GB, free: 14.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001558/1.288, allocations: 96.58 kB / 1.368 GB, free: 14.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.288, allocations: 6.25 kB / 1.368 GB, free: 14.17 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.288, allocations: 5.062 kB / 1.368 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.288, allocations: 5.188 kB / 1.368 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.288, allocations: 20.62 kB / 1.368 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.288, allocations: 1.312 kB / 1.368 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/1.288, allocations: 0.8125 kB / 1.368 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/1.288, allocations: 7.844 kB / 1.368 GB, free: 14.16 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 9.705e-05/1.288, allocations: 117.7 kB / 1.368 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/1.288, allocations: 6.969 kB / 1.368 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/1.288, allocations: 11.05 kB / 1.368 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.288, allocations: 9.594 kB / 1.368 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.288, allocations: 0 / 1.368 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.288, allocations: 2.484 kB / 1.368 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/1.288, allocations: 174.7 kB / 1.369 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.288, allocations: 0 / 1.369 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/1.288, allocations: 24.14 kB / 1.369 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.288, allocations: 1.062 kB / 1.369 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/1.288, allocations: 1.781 kB / 1.369 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.288, allocations: 1.188 kB / 1.369 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.288, allocations: 0.6562 kB / 1.369 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/1.289, allocations: 148.5 kB / 1.369 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/1.289, allocations: 82.81 kB / 1.369 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/1.289, allocations: 1.25 kB / 1.369 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/1.289, allocations: 8.609 kB / 1.369 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/1.289, allocations: 4.578 kB / 1.369 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/1.289, allocations: 7.688 kB / 1.369 GB, free: 13.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.225e-05/1.289, allocations: 80.31 kB / 1.369 GB, free: 13.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.289, allocations: 4.094 kB / 1.369 GB, free: 13.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002026/1.289, allocations: 16.69 kB / 1.369 GB, free: 13.52 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.0001445/1.289, allocations: 106.2 kB / 1.369 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001769/1.289, allocations: 57.5 kB / 1.369 GB, free: 13.41 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.289, allocations: 0 / 1.369 GB, free: 13.41 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.827e-05/1.289, allocations: 27.95 kB / 1.369 GB, free: 13.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/1.29, allocations: 8.312 kB / 1.369 GB, free: 13.39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/1.29, allocations: 317.9 kB / 1.369 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/1.291, allocations: 0.6929 MB / 1.37 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.659e-05/1.291, allocations: 10.83 kB / 1.37 GB, free: 12.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/1.291, allocations: 11.81 kB / 1.37 GB, free: 12.42 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.291, allocations: 1.562 kB / 1.37 GB, free: 12.42 MB / 1.076 GB Notification: Performance of Templates: time 0.003671/1.294, allocations: 0.6561 MB / 1.371 GB, free: 12.33 MB / 1.076 GB make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches