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.001312/0.001312, allocations: 111 kB / 16.46 MB, free: 6.453 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.001438/0.001438, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.398/1.398, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.088/3.088, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.002012/0.002012, allocations: 67.95 kB / 1.172 GB, free: 17.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3256, allocations: 180.2 MB / 1.348 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002377/0.328, allocations: 1.352 MB / 1.349 GB, free: 8.719 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.4974, allocations: 151.4 MB / 1.497 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.4975, allocations: 0 / 1.497 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.4975, allocations: 7.922 kB / 1.497 GB, free: 0.7539 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 9.94e-05/0.4976, allocations: 15.92 kB / 1.497 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.4987, allocations: 334.6 kB / 1.497 GB, free: 420 kB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.4988, allocations: 67.7 kB / 1.497 GB, free: 352 kB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.4988, allocations: 7.984 kB / 1.497 GB, free: 344 kB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 5.23e-05/0.4989, allocations: 31.92 kB / 1.497 GB, free: 312 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.499, allocations: 35.89 kB / 1.497 GB, free: 276 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.499, allocations: 4 kB / 1.497 GB, free: 272 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008841/0.4999, allocations: 442.9 kB / 1.498 GB, free: 15.83 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.4999, allocations: 15.97 kB / 1.498 GB, free: 15.82 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.5, allocations: 27.88 kB / 1.498 GB, free: 15.79 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.5003, allocations: 159.5 kB / 1.498 GB, free: 15.63 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5003, allocations: 4 kB / 1.498 GB, free: 15.63 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5003, allocations: 0 / 1.498 GB, free: 15.63 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.5004, allocations: 4 kB / 1.498 GB, free: 15.62 MB / 1.201 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.0004923/0.5008, allocations: 391 kB / 1.498 GB, free: 15.2 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5009, allocations: 15.98 kB / 1.498 GB, free: 15.18 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.5009, allocations: 34.73 kB / 1.498 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.5013, allocations: 40.86 kB / 1.498 GB, free: 15.1 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.5015, allocations: 172.1 kB / 1.499 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.5015, allocations: 11.94 kB / 1.499 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.5015, allocations: 15.94 kB / 1.499 GB, free: 14.86 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.5017, allocations: 73.66 kB / 1.499 GB, free: 14.79 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5017, allocations: 3.938 kB / 1.499 GB, free: 14.78 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.5017, allocations: 8 kB / 1.499 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5017, allocations: 0 / 1.499 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.84e-05/0.5018, allocations: 47.95 kB / 1.499 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.502, allocations: 185.5 kB / 1.499 GB, free: 14.5 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.5022, allocations: 86.59 kB / 1.499 GB, free: 14.4 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.5023, allocations: 28.89 kB / 1.499 GB, free: 14.37 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002442/0.5025, allocations: 182.1 kB / 1.499 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.5025, allocations: 34.56 kB / 1.499 GB, free: 14.11 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.5025, allocations: 0 / 1.499 GB, free: 14.11 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001344/0.5039, allocations: 0.544 MB / 1.5 GB, free: 13.52 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.5039, allocations: 55.41 kB / 1.5 GB, free: 13.45 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.504, allocations: 101.8 kB / 1.5 GB, free: 13.34 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.504, allocations: 29.7 kB / 1.5 GB, free: 13.31 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.5041, allocations: 88.64 kB / 1.5 GB, free: 13.22 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.365e-05/0.5041, allocations: 67.39 kB / 1.5 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.5042, allocations: 37.7 kB / 1.5 GB, free: 13.11 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5043, allocations: 322.8 kB / 1.5 GB, free: 12.79 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.5044, allocations: 31.98 kB / 1.5 GB, free: 12.75 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.5045, allocations: 72.02 kB / 1.501 GB, free: 12.67 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.5046, allocations: 123.3 kB / 1.501 GB, free: 12.54 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.5046, allocations: 0 / 1.501 GB, free: 12.54 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002367/0.5049, allocations: 153.5 kB / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5049, allocations: 4 kB / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5049, allocations: 3.938 kB / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.5049, allocations: 4 kB / 1.501 GB, free: 12.37 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.5051, allocations: 40.05 kB / 1.501 GB, free: 12.33 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.5051, allocations: 7.938 kB / 1.501 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.005e-05/0.5052, allocations: 8 kB / 1.501 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.5052, allocations: 8 kB / 1.501 GB, free: 12.31 MB / 1.201 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 9.627e-05/0.5053, allocations: 121.8 kB / 1.501 GB, free: 12.18 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.5053, allocations: 7.953 kB / 1.501 GB, free: 12.17 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.5053, allocations: 20.44 kB / 1.501 GB, free: 12.15 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5053, allocations: 0 / 1.501 GB, free: 12.15 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.5053, allocations: 3.938 kB / 1.501 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5054, allocations: 3.984 kB / 1.501 GB, free: 12.14 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.5055, allocations: 193.6 kB / 1.501 GB, free: 11.9 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5055, allocations: 0 / 1.501 GB, free: 11.9 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.5057, allocations: 43.92 kB / 1.501 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5057, allocations: 3.984 kB / 1.501 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.5057, allocations: 4 kB / 1.501 GB, free: 11.85 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5057, allocations: 0 / 1.501 GB, free: 11.85 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5058, allocations: 3.938 kB / 1.501 GB, free: 11.85 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003098/0.5061, allocations: 207.2 kB / 1.501 GB, free: 11.63 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.5061, allocations: 93.05 kB / 1.502 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.5062, allocations: 4.062 kB / 1.502 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.5063, allocations: 12 kB / 1.502 GB, free: 11.5 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.5063, allocations: 11.92 kB / 1.502 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.5063, allocations: 8 kB / 1.502 GB, free: 11.48 MB / 1.201 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.5064, allocations: 87.2 kB / 1.502 GB, free: 11.4 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5064, allocations: 0 / 1.502 GB, free: 11.4 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002184/0.5066, allocations: 27.94 kB / 1.502 GB, free: 11.37 MB / 1.201 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.0006166/0.5072, allocations: 0.7549 MB / 1.502 GB, free: 10.59 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002111/0.5074, allocations: 104.2 kB / 1.503 GB, free: 10.48 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5074, allocations: 0 / 1.503 GB, free: 10.48 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 6.867e-05/0.5075, allocations: 43.92 kB / 1.503 GB, free: 10.44 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.5077, allocations: 22.11 kB / 1.503 GB, free: 10.42 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.5097, allocations: 1.844 MB / 1.504 GB, free: 8.484 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.51, allocations: 0.7047 MB / 1.505 GB, free: 7.754 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 9.603e-05/0.5101, allocations: 16.64 kB / 1.505 GB, free: 7.738 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.5102, allocations: 23.42 kB / 1.505 GB, free: 7.719 MB / 1.201 GB Notification: Performance of SimCode: time 5.81e-07/0.5102, allocations: 0 / 1.505 GB, free: 7.719 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.5368, allocations: 2.446 MB / 1.508 GB, free: 5.355 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.716/8.253, allocations: 4 kB / 1.508 GB, free: 5.352 MB / 1.201 GB " [Timeout remaining time 292] (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: 14.62395371682942]