Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001248/0.001248, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001414/0.001414, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.055/3.055, allocations: 0.505 GB / 0.8101 GB, free: 21.99 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_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.001999/0.001999, allocations: 68.22 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3191, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002499/0.3216, allocations: 1.352 MB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1702/0.4918, allocations: 151.4 MB / 1.502 GB, free: 15.08 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.4918, allocations: 0 / 1.502 GB, free: 15.08 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.4919, allocations: 3.938 kB / 1.502 GB, free: 15.07 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 9.078e-05/0.492, allocations: 19.91 kB / 1.502 GB, free: 15.05 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.000875/0.4928, allocations: 334.6 kB / 1.502 GB, free: 14.73 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 9.945e-05/0.4929, allocations: 67.77 kB / 1.502 GB, free: 14.66 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 3.243e-05/0.493, allocations: 4 kB / 1.502 GB, free: 14.66 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.493, allocations: 27.92 kB / 1.502 GB, free: 14.63 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 8.62e-05/0.4931, allocations: 31.89 kB / 1.502 GB, free: 14.6 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.4931, allocations: 7.938 kB / 1.503 GB, free: 14.59 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007924/0.4939, allocations: 450.9 kB / 1.503 GB, free: 14.15 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.494, allocations: 15.97 kB / 1.503 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.494, allocations: 31.8 kB / 1.503 GB, free: 14.1 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.4943, allocations: 163.5 kB / 1.503 GB, free: 13.94 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4943, allocations: 0 / 1.503 GB, free: 13.94 MB / 1.201 GB Notification: Performance of FrontEnd: time 9.12e-07/0.4943, allocations: 0 / 1.503 GB, free: 13.94 MB / 1.201 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.4943, allocations: 0 / 1.503 GB, free: 13.94 MB / 1.201 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.0004355/0.4947, allocations: 322 kB / 1.503 GB, free: 13.6 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.4948, allocations: 8.031 kB / 1.503 GB, free: 13.59 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.4948, allocations: 34.75 kB / 1.503 GB, free: 13.55 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003659/0.4952, allocations: 40.84 kB / 1.504 GB, free: 13.51 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.271e-05/0.4953, allocations: 114.2 kB / 1.504 GB, free: 13.37 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.4953, allocations: 8 kB / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.4953, allocations: 7.953 kB / 1.504 GB, free: 13.36 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.4955, allocations: 77.59 kB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.4955, allocations: 3.984 kB / 1.504 GB, free: 13.27 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.4955, allocations: 8 kB / 1.504 GB, free: 13.26 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.4955, allocations: 4 kB / 1.504 GB, free: 13.26 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.4956, allocations: 43.95 kB / 1.504 GB, free: 13.21 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.4958, allocations: 160.6 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.496, allocations: 86.62 kB / 1.504 GB, free: 12.92 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.138e-05/0.496, allocations: 28.84 kB / 1.504 GB, free: 12.89 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.4962, allocations: 23.98 kB / 1.504 GB, free: 12.87 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.4962, allocations: 34.56 kB / 1.504 GB, free: 12.82 MB / 1.201 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.4962, allocations: 0 / 1.504 GB, free: 12.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.001204/0.4974, allocations: 483.2 kB / 1.505 GB, free: 12.32 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.4975, allocations: 59.39 kB / 1.505 GB, free: 12.25 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.4975, allocations: 101.8 kB / 1.505 GB, free: 12.14 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.4976, allocations: 29.7 kB / 1.505 GB, free: 12.11 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.4976, allocations: 80.52 kB / 1.505 GB, free: 12.02 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/0.4977, allocations: 71.38 kB / 1.505 GB, free: 11.95 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.4978, allocations: 45.84 kB / 1.505 GB, free: 11.9 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4979, allocations: 314.8 kB / 1.505 GB, free: 11.59 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.498, allocations: 35.98 kB / 1.505 GB, free: 11.55 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.498, allocations: 72.41 kB / 1.505 GB, free: 11.47 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.4982, allocations: 111.4 kB / 1.505 GB, free: 11.35 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4982, allocations: 0 / 1.505 GB, free: 11.35 MB / 1.201 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002216/0.4984, allocations: 169.5 kB / 1.506 GB, free: 11.18 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4984, allocations: 7.938 kB / 1.506 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4984, allocations: 4 kB / 1.506 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4985, allocations: 0 / 1.506 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.4986, allocations: 35.98 kB / 1.506 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4986, allocations: 3.938 kB / 1.506 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.275e-05/0.4987, allocations: 8 kB / 1.506 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4987, allocations: 7.938 kB / 1.506 GB, free: 11.11 MB / 1.201 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.298e-05/0.4988, allocations: 126.4 kB / 1.506 GB, free: 10.98 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.4988, allocations: 15.95 kB / 1.506 GB, free: 10.96 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.096e-05/0.4988, allocations: 20.45 kB / 1.506 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4989, allocations: 0 / 1.506 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.4989, allocations: 3.938 kB / 1.506 GB, free: 10.94 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4989, allocations: 4 kB / 1.506 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.499, allocations: 160.7 kB / 1.506 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.499, allocations: 4 kB / 1.506 GB, free: 10.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.4992, allocations: 35.92 kB / 1.506 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4992, allocations: 0 / 1.506 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4992, allocations: 8 kB / 1.506 GB, free: 10.69 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.4992, allocations: 4 kB / 1.506 GB, free: 10.68 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4992, allocations: 7.922 kB / 1.506 GB, free: 10.68 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.4995, allocations: 204.7 kB / 1.506 GB, free: 10.46 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.4996, allocations: 20 kB / 1.506 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.4996, allocations: 0 / 1.506 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4997, allocations: 8 kB / 1.506 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.4998, allocations: 19.84 kB / 1.506 GB, free: 10.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.4998, allocations: 12.25 kB / 1.506 GB, free: 10.4 MB / 1.201 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.4998, allocations: 79.28 kB / 1.506 GB, free: 10.32 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.4998, allocations: 0 / 1.506 GB, free: 10.32 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0002134/0.5, allocations: 28 kB / 1.506 GB, free: 10.3 MB / 1.201 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.0006122/0.5006, allocations: 0.7528 MB / 1.507 GB, free: 9.512 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.5009, allocations: 101.6 kB / 1.507 GB, free: 9.414 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.5009, allocations: 0 / 1.507 GB, free: 9.414 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 7.109e-05/0.5009, allocations: 51.91 kB / 1.507 GB, free: 9.363 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.5012, allocations: 20.09 kB / 1.507 GB, free: 9.344 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.503, allocations: 1.841 MB / 1.509 GB, free: 7.406 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.5033, allocations: 0.7009 MB / 1.51 GB, free: 6.68 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001022/0.5034, allocations: 28.62 kB / 1.51 GB, free: 6.652 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.5035, allocations: 23.44 kB / 1.51 GB, free: 6.633 MB / 1.201 GB Notification: Performance of SimCode: time 3.1e-07/0.5035, allocations: 0 / 1.51 GB, free: 6.633 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.5393, allocations: 2.63 MB / 1.512 GB, free: 4.121 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.804/10.34, allocations: 19.23 kB / 1.512 GB, free: 4.105 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hLiqCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hLiqCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteSym) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(hSteCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(hSteCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.66361779700037]