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.001734/0.001734, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002138/0.002138, allocations: 209.7 kB / 22.24 MB, free: 5.262 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.734 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.829/2.829, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 177] 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.002102/0.002102, allocations: 64.36 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3377, allocations: 170 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002503/0.3402, allocations: 1.323 MB / 1.284 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.5169, allocations: 130 MB / 1.411 GB, free: 8.574 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.517, allocations: 0 / 1.411 GB, free: 8.574 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.517, allocations: 0 / 1.411 GB, free: 8.574 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.5171, allocations: 19.84 kB / 1.411 GB, free: 8.555 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.5183, allocations: 326.7 kB / 1.411 GB, free: 8.234 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.5185, allocations: 67.75 kB / 1.411 GB, free: 8.168 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.5185, allocations: 4 kB / 1.411 GB, free: 8.164 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.234e-05/0.5185, allocations: 27.92 kB / 1.411 GB, free: 8.137 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.5187, allocations: 31.89 kB / 1.411 GB, free: 8.105 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.5187, allocations: 8 kB / 1.411 GB, free: 8.098 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008317/0.5195, allocations: 366.8 kB / 1.412 GB, free: 7.738 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 7.636e-05/0.5196, allocations: 23.91 kB / 1.412 GB, free: 7.715 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.5196, allocations: 23.92 kB / 1.412 GB, free: 7.691 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.52, allocations: 152.9 kB / 1.412 GB, free: 7.547 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.52, allocations: 0 / 1.412 GB, free: 7.547 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.683e-06/0.52, allocations: 0 / 1.412 GB, free: 7.547 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.52, allocations: 0 / 1.412 GB, free: 7.547 MB / 1.107 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.0005064/0.5205, allocations: 321.9 kB / 1.412 GB, free: 7.203 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.5206, allocations: 12.03 kB / 1.412 GB, free: 7.191 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.5206, allocations: 34.75 kB / 1.412 GB, free: 7.148 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004063/0.521, allocations: 40.84 kB / 1.412 GB, free: 7.109 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.5211, allocations: 114.3 kB / 1.412 GB, free: 6.973 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.5211, allocations: 4 kB / 1.412 GB, free: 6.969 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.5212, allocations: 8 kB / 1.412 GB, free: 6.961 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.5214, allocations: 218.1 kB / 1.413 GB, free: 6.711 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5214, allocations: 3.938 kB / 1.413 GB, free: 6.707 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.5214, allocations: 0 / 1.413 GB, free: 6.707 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5214, allocations: 4 kB / 1.413 GB, free: 6.703 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.5216, allocations: 51.89 kB / 1.413 GB, free: 6.652 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.5218, allocations: 156.6 kB / 1.413 GB, free: 6.457 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.522, allocations: 86.62 kB / 1.413 GB, free: 6.363 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.522, allocations: 28.78 kB / 1.413 GB, free: 6.332 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.5222, allocations: 23.98 kB / 1.413 GB, free: 6.309 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.5223, allocations: 34.56 kB / 1.413 GB, free: 6.266 MB / 1.107 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/0.5223, allocations: 0 / 1.413 GB, free: 6.266 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.001363/0.5236, allocations: 482.8 kB / 1.413 GB, free: 5.762 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.5237, allocations: 55.41 kB / 1.413 GB, free: 5.695 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.866e-05/0.5237, allocations: 93.8 kB / 1.414 GB, free: 5.594 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.5238, allocations: 33.7 kB / 1.414 GB, free: 5.555 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.5238, allocations: 84.64 kB / 1.414 GB, free: 5.469 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.5239, allocations: 75.38 kB / 1.414 GB, free: 5.395 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.82e-05/0.524, allocations: 45.64 kB / 1.414 GB, free: 5.344 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.5241, allocations: 314.8 kB / 1.414 GB, free: 5.027 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.5242, allocations: 35.97 kB / 1.414 GB, free: 4.992 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.5244, allocations: 75.41 kB / 1.414 GB, free: 4.906 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.5246, allocations: 115.3 kB / 1.414 GB, free: 4.781 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5246, allocations: 0 / 1.414 GB, free: 4.781 MB / 1.107 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003127/0.5249, allocations: 157.5 kB / 1.414 GB, free: 4.621 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.525, allocations: 8 kB / 1.414 GB, free: 4.613 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.525, allocations: 0 / 1.414 GB, free: 4.613 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.525, allocations: 8 kB / 1.414 GB, free: 4.605 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.5252, allocations: 39.92 kB / 1.414 GB, free: 4.566 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.5252, allocations: 7.938 kB / 1.414 GB, free: 4.559 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.5252, allocations: 4 kB / 1.414 GB, free: 4.555 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.5253, allocations: 8 kB / 1.414 GB, free: 4.547 MB / 1.107 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.000109/0.5254, allocations: 125.8 kB / 1.415 GB, free: 4.414 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.5254, allocations: 7.953 kB / 1.415 GB, free: 4.406 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.5254, allocations: 16.47 kB / 1.415 GB, free: 4.395 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5254, allocations: 4 kB / 1.415 GB, free: 4.391 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.5254, allocations: 3.938 kB / 1.415 GB, free: 4.387 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.5254, allocations: 4 kB / 1.415 GB, free: 4.383 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.5256, allocations: 156.7 kB / 1.415 GB, free: 4.188 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5256, allocations: 0 / 1.415 GB, free: 4.188 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.5258, allocations: 40.11 kB / 1.415 GB, free: 4.148 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.5258, allocations: 0 / 1.415 GB, free: 4.148 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.5258, allocations: 4 kB / 1.415 GB, free: 4.145 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.5258, allocations: 4 kB / 1.415 GB, free: 4.141 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.5258, allocations: 3.938 kB / 1.415 GB, free: 4.137 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.5262, allocations: 208.9 kB / 1.415 GB, free: 3.914 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.5262, allocations: 15.94 kB / 1.415 GB, free: 3.898 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.5263, allocations: 8.062 kB / 1.415 GB, free: 3.891 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.5264, allocations: 4 kB / 1.415 GB, free: 3.887 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.507e-05/0.5264, allocations: 23.84 kB / 1.415 GB, free: 3.863 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.5264, allocations: 4 kB / 1.415 GB, free: 3.859 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.612e-05/0.5265, allocations: 79.28 kB / 1.415 GB, free: 3.781 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5265, allocations: 0 / 1.415 GB, free: 3.781 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002277/0.5267, allocations: 28 kB / 1.415 GB, free: 3.754 MB / 1.107 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.0007046/0.5274, allocations: 0.7578 MB / 1.416 GB, free: 2.969 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002282/0.5276, allocations: 99.84 kB / 1.416 GB, free: 2.871 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5276, allocations: 0 / 1.416 GB, free: 2.871 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.5277, allocations: 47.92 kB / 1.416 GB, free: 2.824 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.528, allocations: 22.11 kB / 1.416 GB, free: 2.805 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.5304, allocations: 1.824 MB / 1.418 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.5305, allocations: 88 kB / 1.418 GB, free: 0.7773 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.5306, allocations: 24.62 kB / 1.418 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.467e-05/0.5307, allocations: 27.42 kB / 1.418 GB, free: 0.7266 MB / 1.107 GB Notification: Performance of SimCode: time 7.82e-07/0.5307, allocations: 4 kB / 1.418 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.5653, allocations: 2.974 MB / 1.421 GB, free: 13.89 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.01, allocations: 13.94 kB / 1.421 GB, free: 13.88 MB / 1.123 GB " [Timeout remaining time 287] (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.79937337571755]