Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00126/0.00126, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00142/0.00142, allocations: 212.8 kB / 22.24 MB, free: 5.105 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.016/3.016, allocations: 0.49 GB / 0.7951 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_12_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.002025/0.002025, allocations: 63.95 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3292, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002591/0.3318, allocations: 1.334 MB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1646/0.4964, allocations: 130 MB / 1.454 GB, free: 13.63 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.643e-05/0.4965, allocations: 0 / 1.454 GB, free: 13.63 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.4965, allocations: 3.938 kB / 1.454 GB, free: 13.63 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.853e-05/0.4966, allocations: 19.84 kB / 1.454 GB, free: 13.61 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009878/0.4976, allocations: 326.6 kB / 1.454 GB, free: 13.29 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.4977, allocations: 63.77 kB / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.4977, allocations: 7.984 kB / 1.455 GB, free: 13.22 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.024e-05/0.4978, allocations: 35.91 kB / 1.455 GB, free: 13.18 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.4979, allocations: 31.89 kB / 1.455 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.4979, allocations: 4 kB / 1.455 GB, free: 13.15 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007301/0.4986, allocations: 379 kB / 1.455 GB, free: 12.78 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.4987, allocations: 19.97 kB / 1.455 GB, free: 12.76 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.4987, allocations: 23.86 kB / 1.455 GB, free: 12.73 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.499, allocations: 155.6 kB / 1.455 GB, free: 12.58 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.499, allocations: 0 / 1.455 GB, free: 12.58 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.563e-06/0.499, allocations: 0 / 1.455 GB, free: 12.58 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.499, allocations: 0 / 1.455 GB, free: 12.58 MB / 1.154 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.0004619/0.4995, allocations: 317.9 kB / 1.455 GB, free: 12.24 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.4995, allocations: 12.03 kB / 1.455 GB, free: 12.23 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.4996, allocations: 38.69 kB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003732/0.4999, allocations: 40.86 kB / 1.456 GB, free: 12.14 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.5, allocations: 114.3 kB / 1.456 GB, free: 12.01 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.5001, allocations: 8 kB / 1.456 GB, free: 12 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.5001, allocations: 12 kB / 1.456 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.5003, allocations: 202.2 kB / 1.456 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5003, allocations: 3.984 kB / 1.456 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5003, allocations: 0 / 1.456 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.5003, allocations: 0 / 1.456 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.626e-05/0.5004, allocations: 55.89 kB / 1.456 GB, free: 11.7 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.5006, allocations: 160.5 kB / 1.456 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.5008, allocations: 82.59 kB / 1.456 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.5009, allocations: 32.83 kB / 1.456 GB, free: 11.37 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.501, allocations: 23.98 kB / 1.456 GB, free: 11.35 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.5011, allocations: 42.5 kB / 1.456 GB, free: 11.3 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.5011, allocations: 0 / 1.456 GB, free: 11.3 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001297/0.5024, allocations: 475.1 kB / 1.457 GB, free: 10.8 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.5024, allocations: 55.41 kB / 1.457 GB, free: 10.73 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.5025, allocations: 101.8 kB / 1.457 GB, free: 10.62 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.5025, allocations: 33.7 kB / 1.457 GB, free: 10.59 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.5026, allocations: 80.52 kB / 1.457 GB, free: 10.5 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.5026, allocations: 71.38 kB / 1.457 GB, free: 10.43 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-05/0.5027, allocations: 49.83 kB / 1.457 GB, free: 10.38 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.5029, allocations: 318.8 kB / 1.457 GB, free: 10.06 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.5029, allocations: 31.98 kB / 1.457 GB, free: 10.03 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.503, allocations: 72.36 kB / 1.457 GB, free: 9.945 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.5032, allocations: 111.4 kB / 1.458 GB, free: 9.824 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.5032, allocations: 0 / 1.458 GB, free: 9.824 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003187/0.5036, allocations: 165.5 kB / 1.458 GB, free: 9.656 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5036, allocations: 8 kB / 1.458 GB, free: 9.648 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5036, allocations: 0 / 1.458 GB, free: 9.648 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5036, allocations: 4 kB / 1.458 GB, free: 9.645 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.5038, allocations: 35.92 kB / 1.458 GB, free: 9.609 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5038, allocations: 15.88 kB / 1.458 GB, free: 9.594 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.5038, allocations: 4 kB / 1.458 GB, free: 9.59 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.5039, allocations: 8 kB / 1.458 GB, free: 9.582 MB / 1.154 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.0001045/0.504, allocations: 118.4 kB / 1.458 GB, free: 9.457 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.504, allocations: 7.953 kB / 1.458 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.504, allocations: 16.47 kB / 1.458 GB, free: 9.43 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.504, allocations: 7.938 kB / 1.458 GB, free: 9.422 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.504, allocations: 7.922 kB / 1.458 GB, free: 9.414 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5041, allocations: 3.938 kB / 1.458 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.5042, allocations: 160.7 kB / 1.458 GB, free: 9.211 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5042, allocations: 0 / 1.458 GB, free: 9.211 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.5044, allocations: 35.98 kB / 1.458 GB, free: 9.176 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5044, allocations: 0 / 1.458 GB, free: 9.176 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.5044, allocations: 7.984 kB / 1.458 GB, free: 9.168 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.5044, allocations: 4 kB / 1.458 GB, free: 9.164 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5045, allocations: 3.938 kB / 1.458 GB, free: 9.16 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.5048, allocations: 204.7 kB / 1.458 GB, free: 8.945 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.5048, allocations: 20 kB / 1.458 GB, free: 8.926 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.5049, allocations: 0 / 1.458 GB, free: 8.926 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.505, allocations: 11.98 kB / 1.458 GB, free: 8.914 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.505, allocations: 15.92 kB / 1.458 GB, free: 8.898 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.505, allocations: 8 kB / 1.458 GB, free: 8.891 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.5051, allocations: 79.28 kB / 1.458 GB, free: 8.812 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5051, allocations: 0 / 1.458 GB, free: 8.812 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002595/0.5053, allocations: 24 kB / 1.459 GB, free: 8.789 MB / 1.154 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.0006907/0.506, allocations: 0.7467 MB / 1.459 GB, free: 8.012 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.5062, allocations: 100.7 kB / 1.459 GB, free: 7.914 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5062, allocations: 4.094 kB / 1.459 GB, free: 7.91 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.5063, allocations: 53.28 kB / 1.459 GB, free: 7.859 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.5066, allocations: 16.2 kB / 1.459 GB, free: 7.844 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.5086, allocations: 1.837 MB / 1.461 GB, free: 5.91 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.683e-05/0.5087, allocations: 87.98 kB / 1.461 GB, free: 5.805 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 9.778e-05/0.5088, allocations: 20.64 kB / 1.461 GB, free: 5.785 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.5089, allocations: 23.44 kB / 1.461 GB, free: 5.762 MB / 1.154 GB Notification: Performance of SimCode: time 2.81e-07/0.5089, allocations: 0 / 1.461 GB, free: 5.762 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.5399, allocations: 3.04 MB / 1.464 GB, free: 2.863 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.12, allocations: 8.5 kB / 1.464 GB, free: 2.859 MB / 1.154 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteSym) in file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteSym) from file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteCod) in file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteCod) from file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.37501498500933]