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.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.001403/0.001403, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001554/0.001554, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.756/2.756, allocations: 476.7 MB / 0.7707 GB, free: 4.215 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_11_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.002126/0.002126, allocations: 76.12 kB / 1.117 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3195, allocations: 170 MB / 1.283 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002452/0.322, allocations: 1.297 MB / 1.285 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.175/0.4969, allocations: 150.3 MB / 1.431 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.497, allocations: 0 / 1.431 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.497, allocations: 0 / 1.431 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.96e-05/0.497, allocations: 7.922 kB / 1.431 GB, free: 11.55 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.4975, allocations: 103.5 kB / 1.432 GB, free: 11.45 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.187e-05/0.4976, allocations: 27.92 kB / 1.432 GB, free: 11.42 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.4976, allocations: 0 / 1.432 GB, free: 11.42 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.4977, allocations: 15.98 kB / 1.432 GB, free: 11.4 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.4977, allocations: 19.92 kB / 1.432 GB, free: 11.38 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.4977, allocations: 0 / 1.432 GB, free: 11.38 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/0.498, allocations: 91.75 kB / 1.432 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.091e-05/0.498, allocations: 0 / 1.432 GB, free: 11.29 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.498, allocations: 19.92 kB / 1.432 GB, free: 11.27 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.4982, allocations: 68.03 kB / 1.432 GB, free: 11.21 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4982, allocations: 0 / 1.432 GB, free: 11.21 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4982, allocations: 0 / 1.432 GB, free: 11.21 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.4982, allocations: 3.938 kB / 1.432 GB, free: 11.2 MB / 1.139 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.0004023/0.4986, allocations: 286.2 kB / 1.432 GB, free: 10.89 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.4987, allocations: 8.031 kB / 1.432 GB, free: 10.89 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.4987, allocations: 34.75 kB / 1.432 GB, free: 10.84 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.4989, allocations: 16.92 kB / 1.432 GB, free: 10.83 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.452e-05/0.499, allocations: 110.2 kB / 1.432 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.499, allocations: 4 kB / 1.432 GB, free: 10.69 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.499, allocations: 8 kB / 1.432 GB, free: 10.68 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.4992, allocations: 49.61 kB / 1.432 GB, free: 10.63 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4992, allocations: 0 / 1.432 GB, free: 10.63 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4992, allocations: 8 kB / 1.432 GB, free: 10.62 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4992, allocations: 0 / 1.432 GB, free: 10.62 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.769e-05/0.4992, allocations: 15.98 kB / 1.432 GB, free: 10.61 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.4994, allocations: 140.6 kB / 1.432 GB, free: 10.43 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 8.966e-05/0.4995, allocations: 46.55 kB / 1.432 GB, free: 10.37 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.4995, allocations: 16.8 kB / 1.432 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.4995, allocations: 7.984 kB / 1.432 GB, free: 10.34 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4996, allocations: 34.56 kB / 1.433 GB, free: 10.3 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4996, allocations: 0 / 1.433 GB, free: 10.3 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.0007153/0.5003, allocations: 293.8 kB / 1.433 GB, free: 9.98 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.5003, allocations: 55.41 kB / 1.433 GB, free: 9.914 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.5004, allocations: 89.86 kB / 1.433 GB, free: 9.816 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.5004, allocations: 33.83 kB / 1.433 GB, free: 9.777 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.5005, allocations: 80.14 kB / 1.433 GB, free: 9.695 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.5005, allocations: 43.64 kB / 1.433 GB, free: 9.652 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.5006, allocations: 29.7 kB / 1.433 GB, free: 9.617 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5007, allocations: 318.8 kB / 1.433 GB, free: 9.297 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.5007, allocations: 19.98 kB / 1.433 GB, free: 9.277 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.5008, allocations: 40.02 kB / 1.433 GB, free: 9.234 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.531e-05/0.5009, allocations: 65.69 kB / 1.434 GB, free: 9.164 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.5009, allocations: 0 / 1.434 GB, free: 9.164 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001605/0.501, allocations: 97.56 kB / 1.434 GB, free: 9.062 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5011, allocations: 4 kB / 1.434 GB, free: 9.059 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5011, allocations: 0 / 1.434 GB, free: 9.059 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.5011, allocations: 4 kB / 1.434 GB, free: 9.055 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.5012, allocations: 19.98 kB / 1.434 GB, free: 9.035 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5012, allocations: 4 kB / 1.434 GB, free: 9.031 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.467e-05/0.5012, allocations: 4 kB / 1.434 GB, free: 9.027 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.5013, allocations: 7.938 kB / 1.434 GB, free: 9.02 MB / 1.139 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.196e-05/0.5013, allocations: 117.8 kB / 1.434 GB, free: 8.895 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.5014, allocations: 4 kB / 1.434 GB, free: 8.891 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.5014, allocations: 11.91 kB / 1.434 GB, free: 8.883 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.5014, allocations: 7.938 kB / 1.434 GB, free: 8.875 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5014, allocations: 4 kB / 1.434 GB, free: 8.871 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5014, allocations: 0 / 1.434 GB, free: 8.871 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.5016, allocations: 144.7 kB / 1.434 GB, free: 8.688 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5016, allocations: 4 kB / 1.434 GB, free: 8.684 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.5017, allocations: 19.98 kB / 1.434 GB, free: 8.664 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5017, allocations: 4 kB / 1.434 GB, free: 8.66 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5017, allocations: 8 kB / 1.434 GB, free: 8.652 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.5017, allocations: 0 / 1.434 GB, free: 8.652 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5017, allocations: 0 / 1.434 GB, free: 8.652 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.5019, allocations: 136.9 kB / 1.434 GB, free: 8.5 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.502, allocations: 11.98 kB / 1.434 GB, free: 8.488 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.502, allocations: 4 kB / 1.434 GB, free: 8.484 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.276e-05/0.5021, allocations: 0 / 1.434 GB, free: 8.484 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.5021, allocations: 15.98 kB / 1.434 GB, free: 8.469 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.5021, allocations: 4 kB / 1.434 GB, free: 8.465 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.5022, allocations: 79.22 kB / 1.434 GB, free: 8.387 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.5022, allocations: 0 / 1.434 GB, free: 8.387 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002066/0.5024, allocations: 16 kB / 1.434 GB, free: 8.371 MB / 1.139 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.000527/0.5029, allocations: 0.6712 MB / 1.435 GB, free: 7.668 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.503, allocations: 55.97 kB / 1.435 GB, free: 7.613 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.503, allocations: 0 / 1.435 GB, free: 7.613 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 4.748e-05/0.5031, allocations: 27.92 kB / 1.435 GB, free: 7.586 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.5033, allocations: 8 kB / 1.435 GB, free: 7.578 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.5049, allocations: 1.453 MB / 1.436 GB, free: 6.035 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5052, allocations: 0.6889 MB / 1.437 GB, free: 5.32 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 6.043e-05/0.5052, allocations: 8.672 kB / 1.437 GB, free: 5.312 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.5053, allocations: 19.44 kB / 1.437 GB, free: 5.293 MB / 1.139 GB Notification: Performance of SimCode: time 8.82e-07/0.5053, allocations: 4 kB / 1.437 GB, free: 5.289 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03058/0.5358, allocations: 1.85 MB / 1.439 GB, free: 3.582 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.63, allocations: 1.547 kB / 1.439 GB, free: 3.582 MB / 1.139 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv","/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) [Timeout 300] "Error: Could not read variable der(hLiqSym) in file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteSym) in file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hSteSym) from file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteCod) in file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hSteCod) from file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! Error: Could not read variable der(hAirSym) in file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hAirSym) from file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! Error: Could not read variable der(hAirCod) in file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv. Warning: Get data of variable der(hAirCod) from file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.042848782000874]