Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001853/0.001853, allocations: 102.1 kB / 16.45 MB, free: 6.5 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.002335/0.002335, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.511/1.511, 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 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.867/2.867, allocations: 476.7 MB / 0.7672 GB, free: 5.402 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_11_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.002075/0.002075, allocations: 67.89 kB / 1.112 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8502/0.8522, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002388/0.8546, allocations: 1.358 MB / 1.28 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1833/1.038, allocations: 151.4 MB / 1.427 GB, free: 4.113 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/1.038, allocations: 0 / 1.427 GB, free: 4.113 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/1.038, allocations: 7.984 kB / 1.427 GB, free: 4.105 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/1.038, allocations: 15.86 kB / 1.427 GB, free: 4.09 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/1.039, allocations: 330.6 kB / 1.428 GB, free: 3.766 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/1.039, allocations: 71.69 kB / 1.428 GB, free: 3.695 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/1.039, allocations: 8 kB / 1.428 GB, free: 3.688 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/1.039, allocations: 27.92 kB / 1.428 GB, free: 3.66 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/1.039, allocations: 35.89 kB / 1.428 GB, free: 3.625 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/1.039, allocations: 4 kB / 1.428 GB, free: 3.621 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000921/1.04, allocations: 438.5 kB / 1.428 GB, free: 3.195 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/1.04, allocations: 19.91 kB / 1.428 GB, free: 3.176 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 4.881e-05/1.04, allocations: 31.88 kB / 1.428 GB, free: 3.145 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003857/1.041, allocations: 161.5 kB / 1.428 GB, free: 2.988 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.041, allocations: 3.938 kB / 1.428 GB, free: 2.984 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.162e-06/1.041, allocations: 0 / 1.428 GB, free: 2.984 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.721e-06/1.041, allocations: 0 / 1.428 GB, free: 2.984 MB / 1.123 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.0005077/1.041, allocations: 387.1 kB / 1.429 GB, free: 2.559 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.041, allocations: 8.031 kB / 1.429 GB, free: 2.551 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/1.041, allocations: 42.73 kB / 1.429 GB, free: 2.5 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004158/1.042, allocations: 40.86 kB / 1.429 GB, free: 2.461 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/1.042, allocations: 172.1 kB / 1.429 GB, free: 2.254 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/1.042, allocations: 0 / 1.429 GB, free: 2.254 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/1.042, allocations: 15.98 kB / 1.429 GB, free: 2.238 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/1.042, allocations: 73.66 kB / 1.429 GB, free: 2.16 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.042, allocations: 3.938 kB / 1.429 GB, free: 2.156 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/1.042, allocations: 7.938 kB / 1.429 GB, free: 2.148 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.042, allocations: 4 kB / 1.429 GB, free: 2.145 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.946e-05/1.042, allocations: 39.95 kB / 1.429 GB, free: 2.105 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/1.043, allocations: 197.5 kB / 1.429 GB, free: 1.863 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/1.043, allocations: 78.61 kB / 1.43 GB, free: 1.777 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/1.043, allocations: 32.88 kB / 1.43 GB, free: 1.742 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002503/1.043, allocations: 178.2 kB / 1.43 GB, free: 1.531 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/1.043, allocations: 38.56 kB / 1.43 GB, free: 1.484 MB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/1.043, allocations: 0 / 1.43 GB, free: 1.484 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001418/1.045, allocations: 0.5509 MB / 1.43 GB, free: 0.8828 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/1.045, allocations: 55.41 kB / 1.43 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/1.045, allocations: 101.8 kB / 1.43 GB, free: 0.707 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/1.045, allocations: 29.7 kB / 1.43 GB, free: 0.6719 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/1.045, allocations: 84.52 kB / 1.431 GB, free: 0.5859 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/1.045, allocations: 67.39 kB / 1.431 GB, free: 0.5195 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/1.045, allocations: 41.7 kB / 1.431 GB, free: 484 kB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.045, allocations: 326.8 kB / 1.431 GB, free: 148 kB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/1.045, allocations: 36.11 kB / 1.431 GB, free: 112 kB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/1.045, allocations: 70.05 kB / 1.431 GB, free: 32 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/1.045, allocations: 115.3 kB / 1.431 GB, free: 15.91 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.045, allocations: 0 / 1.431 GB, free: 15.91 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002534/1.046, allocations: 161.6 kB / 1.431 GB, free: 15.74 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.046, allocations: 8 kB / 1.431 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.046, allocations: 0 / 1.431 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.046, allocations: 7.938 kB / 1.431 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/1.046, allocations: 43.92 kB / 1.431 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.046, allocations: 7.938 kB / 1.431 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.936e-05/1.046, allocations: 7.938 kB / 1.431 GB, free: 15.67 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/1.046, allocations: 8 kB / 1.431 GB, free: 15.66 MB / 1.139 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.0001043/1.046, allocations: 121.8 kB / 1.432 GB, free: 15.53 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/1.046, allocations: 7.953 kB / 1.432 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/1.046, allocations: 16.44 kB / 1.432 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.046, allocations: 8 kB / 1.432 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.046, allocations: 3.938 kB / 1.432 GB, free: 15.49 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/1.046, allocations: 3.984 kB / 1.432 GB, free: 15.49 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/1.046, allocations: 189.6 kB / 1.432 GB, free: 15.25 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.046, allocations: 0 / 1.432 GB, free: 15.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/1.047, allocations: 39.98 kB / 1.432 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.047, allocations: 0 / 1.432 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.047, allocations: 0 / 1.432 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.047, allocations: 0 / 1.432 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.047, allocations: 3.938 kB / 1.432 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/1.047, allocations: 216.9 kB / 1.432 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/1.047, allocations: 89.05 kB / 1.432 GB, free: 14.88 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/1.047, allocations: 4.062 kB / 1.432 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/1.047, allocations: 8 kB / 1.432 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/1.047, allocations: 15.92 kB / 1.432 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/1.047, allocations: 7.984 kB / 1.432 GB, free: 14.84 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.153e-05/1.047, allocations: 79.28 kB / 1.432 GB, free: 14.76 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.047, allocations: 96 / 1.432 GB, free: 14.76 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002314/1.047, allocations: 32 kB / 1.432 GB, free: 14.73 MB / 1.139 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.0006777/1.048, allocations: 0.7557 MB / 1.433 GB, free: 13.95 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002154/1.048, allocations: 95.91 kB / 1.433 GB, free: 13.85 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.048, allocations: 8 kB / 1.433 GB, free: 13.84 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 7.997e-05/1.048, allocations: 47.92 kB / 1.433 GB, free: 13.8 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/1.049, allocations: 19.92 kB / 1.433 GB, free: 13.78 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/1.051, allocations: 1.824 MB / 1.435 GB, free: 11.86 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/1.051, allocations: 0.7008 MB / 1.436 GB, free: 11.13 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000108/1.051, allocations: 28.62 kB / 1.436 GB, free: 11.11 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/1.051, allocations: 27.42 kB / 1.436 GB, free: 11.08 MB / 1.139 GB Notification: Performance of SimCode: time 3.1e-07/1.051, allocations: 0 / 1.436 GB, free: 11.08 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/1.078, allocations: 2.449 MB / 1.438 GB, free: 8.703 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/9.06, allocations: 13.38 kB / 1.438 GB, free: 8.695 MB / 1.139 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteSym) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteSym) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteCod) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteCod) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.355944307986647]