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.001317/0.001317, allocations: 114.3 kB / 18.94 MB, free: 2.934 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: 219 kB / 22.26 MB, free: 5.082 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 8.016 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.955/2.955, allocations: 476.7 MB / 0.7707 GB, free: 4.238 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.002068/0.002068, allocations: 65.45 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3228, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002605/0.3254, allocations: 1.356 MB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1958/0.5212, allocations: 151.4 MB / 1.433 GB, free: 2.34 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.5213, allocations: 0 / 1.433 GB, free: 2.34 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.5213, allocations: 3.938 kB / 1.433 GB, free: 2.336 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.5214, allocations: 15.91 kB / 1.433 GB, free: 2.32 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.5225, allocations: 342.6 kB / 1.433 GB, free: 1.984 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.5226, allocations: 59.83 kB / 1.433 GB, free: 1.926 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.5226, allocations: 8 kB / 1.433 GB, free: 1.918 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.495e-05/0.5227, allocations: 35.84 kB / 1.433 GB, free: 1.883 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.5228, allocations: 35.89 kB / 1.433 GB, free: 1.848 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.5228, allocations: 8 kB / 1.433 GB, free: 1.84 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009304/0.5237, allocations: 434.5 kB / 1.433 GB, free: 1.418 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.5238, allocations: 19.91 kB / 1.433 GB, free: 1.398 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.5239, allocations: 35.91 kB / 1.433 GB, free: 1.363 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.5242, allocations: 155.7 kB / 1.434 GB, free: 1.215 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5242, allocations: 0 / 1.434 GB, free: 1.215 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5242, allocations: 0 / 1.434 GB, free: 1.215 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.5242, allocations: 0 / 1.434 GB, free: 1.215 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.0005245/0.5247, allocations: 318 kB / 1.434 GB, free: 0.875 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5248, allocations: 8.031 kB / 1.434 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.5248, allocations: 38.75 kB / 1.434 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004041/0.5252, allocations: 32.86 kB / 1.434 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.5254, allocations: 122.2 kB / 1.434 GB, free: 0.6445 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.5254, allocations: 19.92 kB / 1.434 GB, free: 0.625 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.5254, allocations: 8 kB / 1.434 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.5256, allocations: 73.66 kB / 1.434 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.5256, allocations: 4 kB / 1.434 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.5256, allocations: 4 kB / 1.434 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5256, allocations: 3.984 kB / 1.434 GB, free: 0.5273 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/0.5257, allocations: 39.97 kB / 1.434 GB, free: 500 kB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.5259, allocations: 168.5 kB / 1.434 GB, free: 288 kB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.5261, allocations: 86.69 kB / 1.435 GB, free: 192 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.67e-05/0.5262, allocations: 32.78 kB / 1.435 GB, free: 156 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.5264, allocations: 23.98 kB / 1.435 GB, free: 132 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.5264, allocations: 30.56 kB / 1.435 GB, free: 92 kB / 1.123 GB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.5264, allocations: 336 / 1.435 GB, free: 92 kB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001374/0.5278, allocations: 485.3 kB / 1.435 GB, free: 15.58 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.5278, allocations: 55.41 kB / 1.435 GB, free: 15.52 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.5279, allocations: 101.8 kB / 1.435 GB, free: 15.41 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.5279, allocations: 33.64 kB / 1.435 GB, free: 15.37 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.528, allocations: 80.52 kB / 1.435 GB, free: 15.29 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.528, allocations: 75.5 kB / 1.435 GB, free: 15.21 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.5281, allocations: 41.72 kB / 1.435 GB, free: 15.16 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5282, allocations: 318.8 kB / 1.436 GB, free: 14.84 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.443e-05/0.5283, allocations: 31.98 kB / 1.436 GB, free: 14.81 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.5284, allocations: 70.45 kB / 1.436 GB, free: 14.73 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.5286, allocations: 123.3 kB / 1.436 GB, free: 14.6 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5286, allocations: 4 kB / 1.436 GB, free: 14.6 MB / 1.139 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002326/0.5288, allocations: 153.5 kB / 1.436 GB, free: 14.44 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.5288, allocations: 4 kB / 1.436 GB, free: 14.44 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5288, allocations: 4 kB / 1.436 GB, free: 14.43 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5288, allocations: 0 / 1.436 GB, free: 14.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.529, allocations: 39.98 kB / 1.436 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.529, allocations: 12 kB / 1.436 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.5291, allocations: 4 kB / 1.436 GB, free: 14.38 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.5291, allocations: 8 kB / 1.436 GB, free: 14.37 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 9.63e-05/0.5292, allocations: 125.8 kB / 1.436 GB, free: 14.24 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.5292, allocations: 7.953 kB / 1.436 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.5293, allocations: 16.47 kB / 1.436 GB, free: 14.22 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5293, allocations: 3.984 kB / 1.436 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5293, allocations: 7.938 kB / 1.436 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5293, allocations: 0 / 1.436 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.5294, allocations: 160.7 kB / 1.436 GB, free: 14.01 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5294, allocations: 3.938 kB / 1.436 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.5296, allocations: 35.98 kB / 1.437 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.5296, allocations: 4 kB / 1.437 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5297, allocations: 4 kB / 1.437 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5297, allocations: 0 / 1.437 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5297, allocations: 3.938 kB / 1.437 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.53, allocations: 210.8 kB / 1.437 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.53, allocations: 15.94 kB / 1.437 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.5301, allocations: 4.062 kB / 1.437 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.5302, allocations: 4 kB / 1.437 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.5302, allocations: 23.91 kB / 1.437 GB, free: 13.69 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.5302, allocations: 11.94 kB / 1.437 GB, free: 13.68 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.5303, allocations: 83.22 kB / 1.437 GB, free: 13.59 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.5303, allocations: 0 / 1.437 GB, free: 13.59 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002269/0.5305, allocations: 28 kB / 1.437 GB, free: 13.57 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.0006832/0.5312, allocations: 0.751 MB / 1.438 GB, free: 12.79 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.5314, allocations: 104 kB / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5314, allocations: 0 / 1.438 GB, free: 12.68 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.5315, allocations: 51.91 kB / 1.438 GB, free: 12.63 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.5318, allocations: 18.59 kB / 1.438 GB, free: 12.62 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.5338, allocations: 1.828 MB / 1.44 GB, free: 10.69 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.5342, allocations: 0.6969 MB / 1.44 GB, free: 9.965 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.5343, allocations: 24.62 kB / 1.44 GB, free: 9.941 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.093e-05/0.5343, allocations: 23.44 kB / 1.44 GB, free: 9.918 MB / 1.139 GB Notification: Performance of SimCode: time 2.8e-07/0.5343, allocations: 0 / 1.44 GB, free: 9.918 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.5647, allocations: 2.64 MB / 1.443 GB, free: 7.41 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.25, allocations: 7.672 kB / 1.443 GB, free: 7.406 MB / 1.139 GB " [Timeout remaining time 288] (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: 18.23796576099994]