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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.339/1.339, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.984/2.984, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 66.92 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3142, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002346/0.3166, allocations: 1.286 MB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.4731, allocations: 129 MB / 1.491 GB, free: 11.2 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.4731, allocations: 4 kB / 1.491 GB, free: 11.2 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.4732, allocations: 7.875 kB / 1.491 GB, free: 11.19 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 4.987e-05/0.4732, allocations: 0 / 1.491 GB, free: 11.19 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.4736, allocations: 87.58 kB / 1.491 GB, free: 11.1 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 8.438e-05/0.4737, allocations: 39.83 kB / 1.491 GB, free: 11.06 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.4737, allocations: 0 / 1.491 GB, free: 11.06 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.4738, allocations: 12 kB / 1.491 GB, free: 11.05 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.4738, allocations: 19.91 kB / 1.491 GB, free: 11.03 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.4738, allocations: 4 kB / 1.491 GB, free: 11.03 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.4741, allocations: 79.83 kB / 1.491 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.4741, allocations: 3.984 kB / 1.491 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.4741, allocations: 15.94 kB / 1.491 GB, free: 10.93 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.4743, allocations: 68.03 kB / 1.491 GB, free: 10.86 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4743, allocations: 0 / 1.491 GB, free: 10.86 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4743, allocations: 0 / 1.491 GB, free: 10.86 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.4743, allocations: 0 / 1.491 GB, free: 10.86 MB / 1.186 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.0003772/0.4747, allocations: 270.3 kB / 1.491 GB, free: 10.57 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4747, allocations: 12.03 kB / 1.491 GB, free: 10.56 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.4747, allocations: 42.67 kB / 1.491 GB, free: 10.51 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.4749, allocations: 12.89 kB / 1.491 GB, free: 10.5 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.639e-05/0.475, allocations: 114.2 kB / 1.491 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.475, allocations: 4 kB / 1.491 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.475, allocations: 7.984 kB / 1.491 GB, free: 10.35 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.4752, allocations: 126.8 kB / 1.492 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.4752, allocations: 0 / 1.492 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.4752, allocations: 3.984 kB / 1.492 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.4752, allocations: 0 / 1.492 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.925e-05/0.4753, allocations: 27.84 kB / 1.492 GB, free: 10.17 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.4754, allocations: 140.7 kB / 1.492 GB, free: 9.988 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4755, allocations: 42.56 kB / 1.492 GB, free: 9.938 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.235e-05/0.4756, allocations: 24.84 kB / 1.492 GB, free: 9.91 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.4756, allocations: 0 / 1.492 GB, free: 9.91 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.4756, allocations: 30.56 kB / 1.492 GB, free: 9.871 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 7.61e-07/0.4756, allocations: 0 / 1.492 GB, free: 9.871 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0006683/0.4763, allocations: 301.2 kB / 1.492 GB, free: 9.543 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.4763, allocations: 55.41 kB / 1.492 GB, free: 9.477 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.4764, allocations: 101.8 kB / 1.492 GB, free: 9.367 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.4764, allocations: 25.7 kB / 1.492 GB, free: 9.336 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.4765, allocations: 84.14 kB / 1.492 GB, free: 9.25 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.4765, allocations: 35.66 kB / 1.492 GB, free: 9.215 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.4766, allocations: 33.64 kB / 1.492 GB, free: 9.176 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4767, allocations: 318.8 kB / 1.493 GB, free: 8.855 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.4767, allocations: 23.98 kB / 1.493 GB, free: 8.832 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.842e-05/0.4768, allocations: 31.7 kB / 1.493 GB, free: 8.797 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.4769, allocations: 65.64 kB / 1.493 GB, free: 8.727 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4769, allocations: 0 / 1.493 GB, free: 8.727 MB / 1.186 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001369/0.477, allocations: 98.34 kB / 1.493 GB, free: 8.625 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.477, allocations: 8 kB / 1.493 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.477, allocations: 0 / 1.493 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.477, allocations: 4 kB / 1.493 GB, free: 8.613 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4772, allocations: 23.92 kB / 1.493 GB, free: 8.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4772, allocations: 4 kB / 1.493 GB, free: 8.586 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.4772, allocations: 4 kB / 1.493 GB, free: 8.582 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4772, allocations: 7.938 kB / 1.493 GB, free: 8.574 MB / 1.186 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.035e-05/0.4773, allocations: 109.8 kB / 1.493 GB, free: 8.457 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.4773, allocations: 7.953 kB / 1.493 GB, free: 8.449 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.4773, allocations: 11.91 kB / 1.493 GB, free: 8.434 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4773, allocations: 8 kB / 1.493 GB, free: 8.426 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4773, allocations: 0 / 1.493 GB, free: 8.426 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4773, allocations: 0 / 1.493 GB, free: 8.426 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.4775, allocations: 144.7 kB / 1.493 GB, free: 8.242 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4775, allocations: 0 / 1.493 GB, free: 8.242 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.4776, allocations: 23.92 kB / 1.493 GB, free: 8.219 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4776, allocations: 0 / 1.493 GB, free: 8.219 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4776, allocations: 4 kB / 1.493 GB, free: 8.215 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4776, allocations: 0 / 1.493 GB, free: 8.215 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4776, allocations: 0 / 1.493 GB, free: 8.215 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.4778, allocations: 141 kB / 1.493 GB, free: 8.059 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.4778, allocations: 8 kB / 1.493 GB, free: 8.051 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.4779, allocations: 4 kB / 1.493 GB, free: 8.047 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.4779, allocations: 7.984 kB / 1.493 GB, free: 8.039 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.4779, allocations: 0 / 1.493 GB, free: 8.039 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.478, allocations: 11.94 kB / 1.493 GB, free: 8.027 MB / 1.186 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.478, allocations: 83.2 kB / 1.494 GB, free: 7.945 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.478, allocations: 0 / 1.494 GB, free: 7.945 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001922/0.4782, allocations: 20 kB / 1.494 GB, free: 7.926 MB / 1.186 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.0004723/0.4787, allocations: 0.6673 MB / 1.494 GB, free: 7.227 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.4788, allocations: 51.95 kB / 1.494 GB, free: 7.176 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4788, allocations: 0 / 1.494 GB, free: 7.176 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.4788, allocations: 27.94 kB / 1.494 GB, free: 7.148 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.479, allocations: 18.11 kB / 1.494 GB, free: 7.133 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.4804, allocations: 1.454 MB / 1.496 GB, free: 5.594 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.683e-05/0.4805, allocations: 71.28 kB / 1.496 GB, free: 5.504 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 5.647e-05/0.4806, allocations: 12.61 kB / 1.496 GB, free: 5.492 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.4806, allocations: 19.42 kB / 1.496 GB, free: 5.473 MB / 1.186 GB Notification: Performance of SimCode: time 2.8e-07/0.4806, allocations: 0 / 1.496 GB, free: 5.473 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.5108, allocations: 2.207 MB / 1.498 GB, free: 3.402 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.01, allocations: 10.69 kB / 1.498 GB, free: 3.395 MB / 1.186 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(hLiqSym) in file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteSym) in file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hSteSym) from file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteCod) in file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hSteCod) from file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! Error: Could not read variable der(hAirSym) in file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hAirSym) from file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! Error: Could not read variable der(hAirCod) in file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hAirCod) from file Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.14438692573458]