Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.00123/0.00123, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001378/0.001378, allocations: 215.2 kB / 22.24 MB, free: 5.262 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.103/3.103, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",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.001969/0.001969, allocations: 63.86 kB / 1.186 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3114, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00248/0.3139, allocations: 1.329 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.468, allocations: 130 MB / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.468, allocations: 0 / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.4681, allocations: 4 kB / 1.492 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 8.994e-05/0.4682, allocations: 27.78 kB / 1.492 GB, free: 10.2 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009688/0.4691, allocations: 314.7 kB / 1.492 GB, free: 9.891 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.4692, allocations: 71.75 kB / 1.492 GB, free: 9.82 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.4693, allocations: 4 kB / 1.492 GB, free: 9.816 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.897e-05/0.4693, allocations: 31.91 kB / 1.492 GB, free: 9.785 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.4694, allocations: 31.89 kB / 1.492 GB, free: 9.754 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.4695, allocations: 4 kB / 1.492 GB, free: 9.75 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007239/0.4702, allocations: 371 kB / 1.492 GB, free: 9.387 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.4702, allocations: 15.97 kB / 1.492 GB, free: 9.371 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.4703, allocations: 31.86 kB / 1.493 GB, free: 9.34 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.4706, allocations: 151.6 kB / 1.493 GB, free: 9.191 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4706, allocations: 0 / 1.493 GB, free: 9.191 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4706, allocations: 4 kB / 1.493 GB, free: 9.188 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.4706, allocations: 7.938 kB / 1.493 GB, free: 9.18 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004396/0.471, allocations: 317.9 kB / 1.493 GB, free: 8.84 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4711, allocations: 8.031 kB / 1.493 GB, free: 8.832 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.807e-05/0.4711, allocations: 38.75 kB / 1.493 GB, free: 8.785 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/0.4715, allocations: 32.89 kB / 1.493 GB, free: 8.754 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.4716, allocations: 114.3 kB / 1.493 GB, free: 8.617 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4716, allocations: 0 / 1.493 GB, free: 8.617 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.4716, allocations: 19.95 kB / 1.493 GB, free: 8.598 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.4719, allocations: 206.2 kB / 1.493 GB, free: 8.359 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4719, allocations: 0 / 1.493 GB, free: 8.359 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.4719, allocations: 0 / 1.493 GB, free: 8.359 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4719, allocations: 7.938 kB / 1.493 GB, free: 8.352 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.01e-05/0.472, allocations: 47.89 kB / 1.493 GB, free: 8.305 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.4722, allocations: 160.5 kB / 1.494 GB, free: 8.105 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.4724, allocations: 82.69 kB / 1.494 GB, free: 8.016 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.4724, allocations: 28.84 kB / 1.494 GB, free: 7.984 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.4726, allocations: 27.92 kB / 1.494 GB, free: 7.957 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.4726, allocations: 34.56 kB / 1.494 GB, free: 7.914 MB / 1.186 GB Notification: Performance of pre-optimization done (n=12): time 2.946e-06/0.4726, allocations: 3.984 kB / 1.494 GB, free: 7.91 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001218/0.4738, allocations: 475.2 kB / 1.494 GB, free: 7.414 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.4739, allocations: 63.39 kB / 1.494 GB, free: 7.34 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.4739, allocations: 97.8 kB / 1.494 GB, free: 7.234 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.474, allocations: 29.7 kB / 1.494 GB, free: 7.199 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 3.776e-05/0.474, allocations: 80.52 kB / 1.494 GB, free: 7.117 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.4741, allocations: 79.36 kB / 1.495 GB, free: 7.039 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.4741, allocations: 37.72 kB / 1.495 GB, free: 6.996 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4743, allocations: 318.8 kB / 1.495 GB, free: 6.676 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.4743, allocations: 39.92 kB / 1.495 GB, free: 6.637 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4744, allocations: 71.41 kB / 1.495 GB, free: 6.555 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.4746, allocations: 115.3 kB / 1.495 GB, free: 6.43 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4746, allocations: 128 / 1.495 GB, free: 6.43 MB / 1.186 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002297/0.4748, allocations: 161.5 kB / 1.495 GB, free: 6.266 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4748, allocations: 4 kB / 1.495 GB, free: 6.262 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.4748, allocations: 0 / 1.495 GB, free: 6.262 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.4749, allocations: 4 kB / 1.495 GB, free: 6.258 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.475, allocations: 43.92 kB / 1.495 GB, free: 6.215 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.475, allocations: 3.938 kB / 1.495 GB, free: 6.211 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.4751, allocations: 8 kB / 1.495 GB, free: 6.203 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.4751, allocations: 4 kB / 1.495 GB, free: 6.199 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001006/0.4752, allocations: 121.8 kB / 1.495 GB, free: 6.07 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.4752, allocations: 11.95 kB / 1.495 GB, free: 6.059 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.4753, allocations: 24.45 kB / 1.495 GB, free: 6.035 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4753, allocations: 0 / 1.495 GB, free: 6.035 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4753, allocations: 3.938 kB / 1.495 GB, free: 6.031 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4753, allocations: 3.938 kB / 1.495 GB, free: 6.027 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.4754, allocations: 152.7 kB / 1.496 GB, free: 5.836 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4754, allocations: 0 / 1.496 GB, free: 5.836 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.4756, allocations: 35.98 kB / 1.496 GB, free: 5.801 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.4756, allocations: 3.984 kB / 1.496 GB, free: 5.797 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.4756, allocations: 8 kB / 1.496 GB, free: 5.789 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4756, allocations: 0 / 1.496 GB, free: 5.789 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4756, allocations: 7.938 kB / 1.496 GB, free: 5.781 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.4759, allocations: 213.7 kB / 1.496 GB, free: 5.555 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.476, allocations: 16.06 kB / 1.496 GB, free: 5.539 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.476, allocations: 12 kB / 1.496 GB, free: 5.527 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.4761, allocations: 7.984 kB / 1.496 GB, free: 5.52 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.4762, allocations: 15.92 kB / 1.496 GB, free: 5.504 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.4762, allocations: 4 kB / 1.496 GB, free: 5.5 MB / 1.186 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.4762, allocations: 83.27 kB / 1.496 GB, free: 5.418 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.4762, allocations: 0 / 1.496 GB, free: 5.418 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002105/0.4764, allocations: 28 kB / 1.496 GB, free: 5.391 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0005987/0.477, allocations: 0.7477 MB / 1.497 GB, free: 4.613 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.4772, allocations: 99.91 kB / 1.497 GB, free: 4.516 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4772, allocations: 0 / 1.497 GB, free: 4.516 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 7.344e-05/0.4773, allocations: 47.92 kB / 1.497 GB, free: 4.469 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.4775, allocations: 16.41 kB / 1.497 GB, free: 4.453 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.4794, allocations: 1.841 MB / 1.499 GB, free: 2.52 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.153e-05/0.4795, allocations: 83.98 kB / 1.499 GB, free: 2.418 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.4796, allocations: 28.62 kB / 1.499 GB, free: 2.391 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.4796, allocations: 27.42 kB / 1.499 GB, free: 2.363 MB / 1.186 GB Notification: Performance of SimCode: time 3.6e-07/0.4796, allocations: 0 / 1.499 GB, free: 2.363 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.5096, allocations: 2.98 MB / 1.502 GB, free: 15.52 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.86, allocations: 4.688 kB / 1.502 GB, free: 15.52 MB / 1.201 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_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_Examples_AirDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteSym) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.24174989387393]