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.001458/0.001458, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.001915/0.001915, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.428/1.428, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.065/3.065, allocations: 0.49 GB / 0.7916 GB, free: 33.26 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.001929/0.001929, allocations: 71.59 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3356, allocations: 176.1 MB / 1.321 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002683/0.3383, allocations: 1.354 MB / 1.322 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1806/0.5188, allocations: 151.4 MB / 1.47 GB, free: 10.06 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.5189, allocations: 0 / 1.47 GB, free: 10.06 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 4.629e-05/0.5189, allocations: 3.938 kB / 1.47 GB, free: 10.06 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.5191, allocations: 19.91 kB / 1.47 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.5203, allocations: 338.6 kB / 1.47 GB, free: 9.707 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.5204, allocations: 55.84 kB / 1.47 GB, free: 9.652 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.5204, allocations: 11.98 kB / 1.47 GB, free: 9.641 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 5.867e-05/0.5205, allocations: 31.86 kB / 1.47 GB, free: 9.609 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.5206, allocations: 31.89 kB / 1.47 GB, free: 9.578 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.5206, allocations: 4 kB / 1.47 GB, free: 9.574 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008735/0.5215, allocations: 446.9 kB / 1.471 GB, free: 9.137 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.5215, allocations: 19.91 kB / 1.471 GB, free: 9.117 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.5216, allocations: 23.92 kB / 1.471 GB, free: 9.094 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.5219, allocations: 159.5 kB / 1.471 GB, free: 8.938 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.5219, allocations: 0 / 1.471 GB, free: 8.938 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5219, allocations: 0 / 1.471 GB, free: 8.938 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.522, allocations: 4 kB / 1.471 GB, free: 8.934 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.0004984/0.5224, allocations: 395 kB / 1.471 GB, free: 8.5 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5225, allocations: 11.98 kB / 1.471 GB, free: 8.488 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.5225, allocations: 42.69 kB / 1.471 GB, free: 8.438 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004117/0.523, allocations: 40.84 kB / 1.471 GB, free: 8.398 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.5231, allocations: 168.1 kB / 1.472 GB, free: 8.195 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5231, allocations: 0 / 1.472 GB, free: 8.195 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.5231, allocations: 16 kB / 1.472 GB, free: 8.18 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.5233, allocations: 85.52 kB / 1.472 GB, free: 8.09 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.5234, allocations: 0 / 1.472 GB, free: 8.09 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.5234, allocations: 4 kB / 1.472 GB, free: 8.086 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.5234, allocations: 4 kB / 1.472 GB, free: 8.082 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.5235, allocations: 43.89 kB / 1.472 GB, free: 8.039 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.5237, allocations: 193.5 kB / 1.472 GB, free: 7.801 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.5239, allocations: 86.69 kB / 1.472 GB, free: 7.707 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.524, allocations: 28.84 kB / 1.472 GB, free: 7.676 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.5242, allocations: 174.2 kB / 1.472 GB, free: 7.469 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.493e-05/0.5243, allocations: 38.5 kB / 1.472 GB, free: 7.422 MB / 1.17 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.5243, allocations: 0 / 1.472 GB, free: 7.422 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.00134/0.5257, allocations: 0.549 MB / 1.473 GB, free: 6.82 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.5257, allocations: 51.41 kB / 1.473 GB, free: 6.758 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.5258, allocations: 101.8 kB / 1.473 GB, free: 6.648 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.5258, allocations: 33.83 kB / 1.473 GB, free: 6.609 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.5258, allocations: 80.52 kB / 1.473 GB, free: 6.527 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/0.5259, allocations: 71.39 kB / 1.473 GB, free: 6.457 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.526, allocations: 45.64 kB / 1.473 GB, free: 6.406 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5261, allocations: 318.8 kB / 1.474 GB, free: 6.086 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.761e-05/0.5262, allocations: 35.98 kB / 1.474 GB, free: 6.051 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.5263, allocations: 73.58 kB / 1.474 GB, free: 5.969 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.5264, allocations: 115.4 kB / 1.474 GB, free: 5.844 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.5265, allocations: 0 / 1.474 GB, free: 5.844 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002373/0.5267, allocations: 157.5 kB / 1.474 GB, free: 5.684 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5267, allocations: 10.34 kB / 1.474 GB, free: 5.676 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5267, allocations: 0 / 1.474 GB, free: 5.676 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.5267, allocations: 0 / 1.474 GB, free: 5.676 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.5269, allocations: 47.91 kB / 1.474 GB, free: 5.629 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/0.5269, allocations: 11.92 kB / 1.474 GB, free: 5.617 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.527, allocations: 0 / 1.474 GB, free: 5.617 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.527, allocations: 12 kB / 1.474 GB, free: 5.605 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.0001048/0.5271, allocations: 125.8 kB / 1.474 GB, free: 5.473 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.5271, allocations: 7.953 kB / 1.474 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.769e-05/0.5272, allocations: 16.44 kB / 1.474 GB, free: 5.449 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.5272, allocations: 7.938 kB / 1.474 GB, free: 5.441 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5272, allocations: 3.938 kB / 1.474 GB, free: 5.438 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5272, allocations: 0 / 1.474 GB, free: 5.438 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.5274, allocations: 189.6 kB / 1.474 GB, free: 5.203 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5274, allocations: 3.984 kB / 1.474 GB, free: 5.199 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.5276, allocations: 39.98 kB / 1.474 GB, free: 5.16 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.82e-06/0.5276, allocations: 4.125 kB / 1.474 GB, free: 5.156 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.5276, allocations: 4 kB / 1.474 GB, free: 5.152 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5276, allocations: 0 / 1.474 GB, free: 5.152 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5276, allocations: 3.938 kB / 1.474 GB, free: 5.148 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.5279, allocations: 214.1 kB / 1.475 GB, free: 4.922 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.528, allocations: 93.03 kB / 1.475 GB, free: 4.812 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.528, allocations: 4.062 kB / 1.475 GB, free: 4.809 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.5281, allocations: 8 kB / 1.475 GB, free: 4.801 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.5282, allocations: 19.92 kB / 1.475 GB, free: 4.781 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.5282, allocations: 4 kB / 1.475 GB, free: 4.777 MB / 1.17 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.5282, allocations: 79.28 kB / 1.475 GB, free: 4.699 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.5282, allocations: 0 / 1.475 GB, free: 4.699 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002271/0.5284, allocations: 28 kB / 1.475 GB, free: 4.672 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.0006704/0.5291, allocations: 0.7546 MB / 1.476 GB, free: 3.887 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.5293, allocations: 97.83 kB / 1.476 GB, free: 3.793 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5293, allocations: 0 / 1.476 GB, free: 3.793 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.5294, allocations: 51.91 kB / 1.476 GB, free: 3.742 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.5297, allocations: 19.94 kB / 1.476 GB, free: 3.723 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.5317, allocations: 1.832 MB / 1.477 GB, free: 1.793 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.532, allocations: 0.7047 MB / 1.478 GB, free: 1.059 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.5321, allocations: 24.62 kB / 1.478 GB, free: 1.035 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.5322, allocations: 23.44 kB / 1.478 GB, free: 1.012 MB / 1.17 GB Notification: Performance of SimCode: time 4.41e-07/0.5322, allocations: 0 / 1.478 GB, free: 1.012 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.5594, allocations: 2.44 MB / 1.481 GB, free: 14.64 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.355, allocations: 10.25 kB / 1.481 GB, free: 14.63 MB / 1.186 GB " [Timeout remaining time 292] (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: 14.70835393620655]