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.001558/0.001559, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001583/0.001583, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.666/2.666, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003015/0.003016, allocations: 68.47 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3198, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002351/0.3222, allocations: 1.325 MB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6579/0.9801, allocations: 144.8 MB / 1.207 GB, free: 1.465 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.9801, allocations: 0 / 1.207 GB, free: 1.465 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.9802, allocations: 1.375 kB / 1.207 GB, free: 1.465 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.636e-05/0.9803, allocations: 9.891 kB / 1.207 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.9807, allocations: 82.48 kB / 1.207 GB, free: 1.402 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.9808, allocations: 28.39 kB / 1.207 GB, free: 1.391 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.9808, allocations: 6.906 kB / 1.207 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.319e-05/0.9809, allocations: 23.66 kB / 1.207 GB, free: 1.371 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.9809, allocations: 17.17 kB / 1.207 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.9809, allocations: 1.469 kB / 1.207 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.9812, allocations: 75.8 kB / 1.207 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.9812, allocations: 9.984 kB / 1.207 GB, free: 1.312 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.9813, allocations: 14.62 kB / 1.207 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.9814, allocations: 47.67 kB / 1.207 GB, free: 1.285 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.9814, allocations: 1.188 kB / 1.207 GB, free: 1.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9814, allocations: 0 / 1.207 GB, free: 1.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.9814, allocations: 0 / 1.207 GB, free: 1.285 MB / 0.92 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.0004579/0.9819, allocations: 350.2 kB / 1.208 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.9819, allocations: 8.719 kB / 1.208 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.9821, allocations: 10 kB / 1.208 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.9823, allocations: 177.6 kB / 1.208 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.9823, allocations: 10.12 kB / 1.208 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.9823, allocations: 7 kB / 1.208 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.9824, allocations: 53.5 kB / 1.208 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.9825, allocations: 3.938 kB / 1.208 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.9825, allocations: 1.094 kB / 1.208 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.9825, allocations: 0.9062 kB / 1.208 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.033e-05/0.9825, allocations: 16.8 kB / 1.208 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.9827, allocations: 165.6 kB / 1.208 GB, free: 440 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.569e-05/0.9828, allocations: 58.56 kB / 1.208 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.9829, allocations: 15.42 kB / 1.208 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.9829, allocations: 1.688 kB / 1.208 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.9829, allocations: 36.12 kB / 1.208 GB, free: 340 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.9829, allocations: 0 / 1.208 GB, free: 340 kB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0007557/0.9837, allocations: 378.4 kB / 1.208 GB, free: 0 / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.9838, allocations: 52.66 kB / 1.208 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.9838, allocations: 95.23 kB / 1.209 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.9839, allocations: 26.89 kB / 1.209 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.9839, allocations: 80.14 kB / 1.209 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.9839, allocations: 44.83 kB / 1.209 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.984, allocations: 29.55 kB / 1.209 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.9841, allocations: 321.2 kB / 1.209 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.9842, allocations: 22.17 kB / 1.209 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.9842, allocations: 32.52 kB / 1.209 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.837e-05/0.9843, allocations: 64.78 kB / 1.209 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.9843, allocations: 1.344 kB / 1.209 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001386/0.9845, allocations: 98.02 kB / 1.209 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.9845, allocations: 5.344 kB / 1.209 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9845, allocations: 0 / 1.209 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.9845, allocations: 5.094 kB / 1.209 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.9847, allocations: 19.12 kB / 1.209 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9847, allocations: 1.5 kB / 1.209 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.9847, allocations: 7.984 kB / 1.209 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.9847, allocations: 3.781 kB / 1.209 GB, free: 15.18 MB / 0.9356 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.139e-05/0.9848, allocations: 120.2 kB / 1.209 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.9848, allocations: 3.344 kB / 1.209 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.9849, allocations: 11.97 kB / 1.209 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9849, allocations: 1.562 kB / 1.209 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9849, allocations: 5.188 kB / 1.209 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.9849, allocations: 0 / 1.209 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.9851, allocations: 175.4 kB / 1.21 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9851, allocations: 1.438 kB / 1.21 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.9852, allocations: 21.05 kB / 1.21 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9852, allocations: 1 kB / 1.21 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.9852, allocations: 1.375 kB / 1.21 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9852, allocations: 0.9375 kB / 1.21 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9852, allocations: 5.125 kB / 1.21 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.9854, allocations: 143.7 kB / 1.21 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.9855, allocations: 83.86 kB / 1.21 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.9855, allocations: 5.156 kB / 1.21 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.9856, allocations: 3.188 kB / 1.21 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.9857, allocations: 7.859 kB / 1.21 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.9857, allocations: 6.938 kB / 1.21 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.9857, allocations: 77.06 kB / 1.21 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.9857, allocations: 0 / 1.21 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000192/0.9859, allocations: 16 kB / 1.21 GB, free: 14.53 MB / 0.9356 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.0001087/0.986, allocations: 105.5 kB / 1.21 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.9862, allocations: 69.16 kB / 1.21 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9862, allocations: 0 / 1.21 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.9863, allocations: 30.3 kB / 1.21 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.9865, allocations: 8.438 kB / 1.21 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006025/0.9871, allocations: 366.2 kB / 1.211 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.9874, allocations: 0.6873 MB / 1.211 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.9874, allocations: 13.19 kB / 1.211 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9874, allocations: 0 / 1.211 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of Templates: time 0.002228/0.9897, allocations: 0.8329 MB / 1.212 GB, free: 12.92 MB / 0.9356 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=400 -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/jenkins1/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