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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_10_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.008911/0.008911, allocations: 98.92 kB / 15.73 MB, free: 6.004 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.00199/0.00199, allocations: 192.5 kB / 16.67 MB, free: 5.922 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.91 kB / 1.018 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9737/0.9751, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002186/0.9774, allocations: 1.288 MB / 1.168 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.1714/1.149, allocations: 147 MB / 1.311 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/1.149, allocations: 0 / 1.311 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/1.149, allocations: 7.922 kB / 1.311 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/1.149, allocations: 7.922 kB / 1.311 GB, free: 14.97 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/1.149, allocations: 95.5 kB / 1.311 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.913e-05/1.15, allocations: 27.92 kB / 1.312 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/1.15, allocations: 4 kB / 1.312 GB, free: 14.85 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/1.15, allocations: 23.91 kB / 1.312 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/1.15, allocations: 15.92 kB / 1.312 GB, free: 14.81 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/1.15, allocations: 11.94 kB / 1.312 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/1.15, allocations: 75.83 kB / 1.312 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/1.15, allocations: 7.984 kB / 1.312 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/1.15, allocations: 15.88 kB / 1.312 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/1.15, allocations: 71.38 kB / 1.312 GB, free: 14.63 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.15, allocations: 0 / 1.312 GB, free: 14.63 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.326e-06/1.15, allocations: 0 / 1.312 GB, free: 14.63 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.15, allocations: 0 / 1.312 GB, free: 14.63 MB / 1.045 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.0004491/1.151, allocations: 352.3 kB / 1.312 GB, free: 14.24 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.151, allocations: 16.88 kB / 1.312 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/1.151, allocations: 12.92 kB / 1.312 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/1.151, allocations: 160.4 kB / 1.312 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.151, allocations: 3.938 kB / 1.312 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/1.151, allocations: 15.94 kB / 1.312 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/1.151, allocations: 49.67 kB / 1.312 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/1.151, allocations: 0 / 1.312 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/1.151, allocations: 4 kB / 1.312 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/1.151, allocations: 8 kB / 1.312 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.868e-05/1.151, allocations: 15.92 kB / 1.312 GB, free: 13.92 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/1.152, allocations: 165.6 kB / 1.312 GB, free: 13.71 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.134e-05/1.152, allocations: 50.55 kB / 1.313 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/1.152, allocations: 16.86 kB / 1.313 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/1.152, allocations: 0 / 1.313 GB, free: 13.63 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/1.152, allocations: 30.56 kB / 1.313 GB, free: 13.59 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/1.152, allocations: 7.938 kB / 1.313 GB, free: 13.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=11): time 0.0007478/1.153, allocations: 378.6 kB / 1.313 GB, free: 13.16 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/1.153, allocations: 55.41 kB / 1.313 GB, free: 13.09 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/1.153, allocations: 93.86 kB / 1.313 GB, free: 12.99 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/1.153, allocations: 25.7 kB / 1.313 GB, free: 12.96 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/1.153, allocations: 88.27 kB / 1.313 GB, free: 12.87 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/1.153, allocations: 47.58 kB / 1.313 GB, free: 12.82 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/1.153, allocations: 25.72 kB / 1.313 GB, free: 12.79 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000104/1.153, allocations: 318.8 kB / 1.314 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/1.153, allocations: 16 kB / 1.314 GB, free: 12.46 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.832e-05/1.153, allocations: 38.95 kB / 1.314 GB, free: 12.41 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.595e-05/1.153, allocations: 65.62 kB / 1.314 GB, free: 12.34 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/1.153, allocations: 0 / 1.314 GB, free: 12.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001331/1.153, allocations: 89.69 kB / 1.314 GB, free: 12.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.153, allocations: 4 kB / 1.314 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/1.153, allocations: 4 kB / 1.314 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.153, allocations: 0 / 1.314 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/1.153, allocations: 31.86 kB / 1.314 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/1.153, allocations: 0 / 1.314 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/1.154, allocations: 7.938 kB / 1.314 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/1.154, allocations: 4 kB / 1.314 GB, free: 12.2 MB / 1.045 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 8.06e-05/1.154, allocations: 124 kB / 1.314 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/1.154, allocations: 3.953 kB / 1.314 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/1.154, allocations: 11.95 kB / 1.314 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/1.154, allocations: 4 kB / 1.314 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.154, allocations: 0 / 1.314 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.154, allocations: 0 / 1.314 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/1.154, allocations: 185.5 kB / 1.314 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.154, allocations: 0 / 1.314 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.154, allocations: 20 kB / 1.314 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/1.154, allocations: 0 / 1.314 GB, free: 11.8 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.154, allocations: 4 kB / 1.314 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.154, allocations: 4 kB / 1.314 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.154, allocations: 3.984 kB / 1.314 GB, free: 11.79 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/1.154, allocations: 137 kB / 1.314 GB, free: 11.63 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.781e-05/1.154, allocations: 81.14 kB / 1.314 GB, free: 11.54 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/1.154, allocations: 4 kB / 1.314 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/1.154, allocations: 7.938 kB / 1.314 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/1.154, allocations: 4 kB / 1.314 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/1.154, allocations: 7.984 kB / 1.314 GB, free: 11.51 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.255e-05/1.155, allocations: 83.28 kB / 1.314 GB, free: 11.43 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/1.155, allocations: 0 / 1.314 GB, free: 11.43 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002008/1.155, allocations: 15.94 kB / 1.314 GB, free: 11.41 MB / 1.045 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.000103/1.155, allocations: 103.2 kB / 1.315 GB, free: 11.3 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001274/1.155, allocations: 56.39 kB / 1.315 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.155, allocations: 0 / 1.315 GB, free: 11.25 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/1.155, allocations: 23.98 kB / 1.315 GB, free: 11.22 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/1.155, allocations: 13.81 kB / 1.315 GB, free: 11.21 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/1.156, allocations: 332.6 kB / 1.315 GB, free: 10.86 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/1.156, allocations: 0.6885 MB / 1.316 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.966e-05/1.156, allocations: 8.672 kB / 1.316 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/1.156, allocations: 11.44 kB / 1.316 GB, free: 10.12 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/1.156, allocations: 0 / 1.316 GB, free: 10.12 MB / 1.045 GB Notification: Performance of Templates: time 0.00272/1.159, allocations: 0.6501 MB / 1.316 GB, free: 9.477 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) 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) Reference file matches