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.001316/0.001316, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001509/0.001509, allocations: 216 kB / 22.26 MB, free: 5.113 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.031 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.182/3.182, allocations: 0.49 GB / 0.7951 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] 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.003168/0.003168, allocations: 65.97 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3643, allocations: 176.1 MB / 1.326 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002529/0.3668, allocations: 1.351 MB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1981/0.5649, allocations: 151.4 MB / 1.475 GB, free: 8.637 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.5649, allocations: 0 / 1.475 GB, free: 8.637 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 4.042e-05/0.565, allocations: 0 / 1.475 GB, free: 8.637 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.5651, allocations: 19.84 kB / 1.475 GB, free: 8.617 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.5662, allocations: 338.6 kB / 1.475 GB, free: 8.285 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.5664, allocations: 63.77 kB / 1.475 GB, free: 8.223 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.5664, allocations: 4 kB / 1.475 GB, free: 8.219 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.5665, allocations: 27.92 kB / 1.475 GB, free: 8.191 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.5666, allocations: 39.89 kB / 1.476 GB, free: 8.152 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.5666, allocations: 4 kB / 1.476 GB, free: 8.148 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008837/0.5675, allocations: 442.9 kB / 1.476 GB, free: 7.715 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.5675, allocations: 19.91 kB / 1.476 GB, free: 7.695 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.5676, allocations: 27.92 kB / 1.476 GB, free: 7.668 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.5679, allocations: 163.5 kB / 1.476 GB, free: 7.508 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5679, allocations: 0 / 1.476 GB, free: 7.508 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5679, allocations: 0 / 1.476 GB, free: 7.508 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5679, allocations: 0 / 1.476 GB, free: 7.508 MB / 1.17 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.0005151/0.5684, allocations: 318 kB / 1.476 GB, free: 7.168 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5685, allocations: 12.03 kB / 1.476 GB, free: 7.156 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.5685, allocations: 34.75 kB / 1.477 GB, free: 7.113 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.5689, allocations: 32.86 kB / 1.477 GB, free: 7.082 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.569, allocations: 114.3 kB / 1.477 GB, free: 6.945 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.569, allocations: 11.94 kB / 1.477 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.5691, allocations: 8 kB / 1.477 GB, free: 6.926 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.5693, allocations: 85.53 kB / 1.477 GB, free: 6.836 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.5693, allocations: 0 / 1.477 GB, free: 6.836 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.5693, allocations: 4 kB / 1.477 GB, free: 6.832 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.5693, allocations: 0 / 1.477 GB, free: 6.832 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.5694, allocations: 43.95 kB / 1.477 GB, free: 6.789 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002691/0.5697, allocations: 168.5 kB / 1.477 GB, free: 6.582 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.5699, allocations: 98.61 kB / 1.477 GB, free: 6.477 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.57, allocations: 28.84 kB / 1.477 GB, free: 6.445 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.5702, allocations: 27.98 kB / 1.477 GB, free: 6.418 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.5702, allocations: 30.56 kB / 1.477 GB, free: 6.379 MB / 1.17 GB Notification: Performance of pre-optimization done (n=12): time 1.123e-06/0.5702, allocations: 0 / 1.477 GB, free: 6.379 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.00143/0.5716, allocations: 479.2 kB / 1.478 GB, free: 5.879 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.5717, allocations: 63.34 kB / 1.478 GB, free: 5.805 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.245e-05/0.5718, allocations: 101.8 kB / 1.478 GB, free: 5.695 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.5718, allocations: 29.7 kB / 1.478 GB, free: 5.66 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.5718, allocations: 80.64 kB / 1.478 GB, free: 5.578 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.618e-05/0.5719, allocations: 75.39 kB / 1.478 GB, free: 5.504 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.565e-05/0.572, allocations: 41.7 kB / 1.478 GB, free: 5.457 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5721, allocations: 322.8 kB / 1.478 GB, free: 5.133 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.5722, allocations: 35.98 kB / 1.478 GB, free: 5.098 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.496e-05/0.5723, allocations: 63.41 kB / 1.478 GB, free: 5.023 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.5725, allocations: 131.3 kB / 1.478 GB, free: 4.883 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.5725, allocations: 0 / 1.478 GB, free: 4.883 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002412/0.5727, allocations: 149.5 kB / 1.479 GB, free: 4.73 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5727, allocations: 4 kB / 1.479 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5727, allocations: 4 kB / 1.479 GB, free: 4.723 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.5728, allocations: 0 / 1.479 GB, free: 4.723 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.5729, allocations: 39.92 kB / 1.479 GB, free: 4.684 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.5729, allocations: 7.938 kB / 1.479 GB, free: 4.676 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.573, allocations: 4 kB / 1.479 GB, free: 4.672 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.573, allocations: 8 kB / 1.479 GB, free: 4.664 MB / 1.17 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.0001109/0.5731, allocations: 126.3 kB / 1.479 GB, free: 4.531 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.5731, allocations: 7.953 kB / 1.479 GB, free: 4.523 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.5732, allocations: 16.47 kB / 1.479 GB, free: 4.504 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5732, allocations: 4 kB / 1.479 GB, free: 4.5 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.5732, allocations: 8.047 kB / 1.479 GB, free: 4.492 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5732, allocations: 0 / 1.479 GB, free: 4.492 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.5734, allocations: 168.7 kB / 1.479 GB, free: 4.285 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5734, allocations: 0 / 1.479 GB, free: 4.285 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.5736, allocations: 31.98 kB / 1.479 GB, free: 4.254 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.5736, allocations: 15.88 kB / 1.479 GB, free: 4.238 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.5736, allocations: 4 kB / 1.479 GB, free: 4.234 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5737, allocations: 0 / 1.479 GB, free: 4.234 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5737, allocations: 3.938 kB / 1.479 GB, free: 4.23 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.574, allocations: 212.3 kB / 1.479 GB, free: 4.008 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.5741, allocations: 11.94 kB / 1.479 GB, free: 3.996 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.5741, allocations: 4.062 kB / 1.479 GB, free: 3.992 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.5742, allocations: 4 kB / 1.479 GB, free: 3.988 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.5743, allocations: 23.91 kB / 1.479 GB, free: 3.965 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.5743, allocations: 8 kB / 1.479 GB, free: 3.957 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.5743, allocations: 75.28 kB / 1.479 GB, free: 3.883 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5743, allocations: 0 / 1.479 GB, free: 3.883 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000227/0.5745, allocations: 32 kB / 1.479 GB, free: 3.852 MB / 1.17 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.0007752/0.5753, allocations: 0.7508 MB / 1.48 GB, free: 3.07 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.5755, allocations: 103.8 kB / 1.48 GB, free: 2.969 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5755, allocations: 0 / 1.48 GB, free: 2.969 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.5756, allocations: 53.8 kB / 1.48 GB, free: 2.918 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.5759, allocations: 17.5 kB / 1.48 GB, free: 2.902 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.5781, allocations: 1.83 MB / 1.482 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.5785, allocations: 0.7008 MB / 1.483 GB, free: 256 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.5786, allocations: 24.61 kB / 1.483 GB, free: 232 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.5786, allocations: 23.44 kB / 1.483 GB, free: 208 kB / 1.17 GB Notification: Performance of SimCode: time 3.21e-07/0.5786, allocations: 0 / 1.483 GB, free: 208 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/0.6187, allocations: 2.643 MB / 1.485 GB, free: 13.69 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.51, allocations: 3.625 kB / 1.485 GB, free: 13.69 MB / 1.186 GB " [Timeout remaining time 288] (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: 18.376310933999775]