Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001334/0.001334, allocations: 106.4 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.001564/0.001564, allocations: 219 kB / 22.25 MB, free: 5.133 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 8.023 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.458/3.458, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",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.002037/0.002037, allocations: 63.58 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3959, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003606/0.3995, allocations: 1.942 MB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002919/0.4024, allocations: 1.847 MB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.4025, allocations: 4 kB / 1.357 GB, free: 4.648 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.4028, allocations: 23.8 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.4032, allocations: 123.4 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.4037, allocations: 187.7 kB / 1.357 GB, free: 4.324 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003907/0.4041, allocations: 301.2 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.4042, allocations: 21.3 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.4044, allocations: 103.8 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002723/0.4046, allocations: 107.6 kB / 1.357 GB, free: 3.805 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.4047, allocations: 24 kB / 1.357 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.405, allocations: 131.9 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.4051, allocations: 91.73 kB / 1.358 GB, free: 3.562 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.4052, allocations: 127.3 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.4057, allocations: 378.4 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4057, allocations: 0 / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4057, allocations: 4 kB / 1.358 GB, free: 3.062 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.4057, allocations: 4 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008397/0.4066, allocations: 0.5208 MB / 1.359 GB, free: 2.504 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.4066, allocations: 8.031 kB / 1.359 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.905e-05/0.4067, allocations: 58.66 kB / 1.359 GB, free: 2.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/0.4069, allocations: 36.75 kB / 1.359 GB, free: 2.395 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.4072, allocations: 225 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.4072, allocations: 8.375 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.4072, allocations: 27.94 kB / 1.359 GB, free: 2.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.4076, allocations: 233.6 kB / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4077, allocations: 0 / 1.359 GB, free: 1.871 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.4077, allocations: 12 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.4077, allocations: 4 kB / 1.359 GB, free: 1.855 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009689/0.4087, allocations: 0.7528 MB / 1.36 GB, free: 1.102 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.4098, allocations: 0.6166 MB / 1.361 GB, free: 448 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005177/0.4104, allocations: 278 kB / 1.361 GB, free: 160 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.4105, allocations: 105.4 kB / 1.361 GB, free: 52 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.403e-05/0.4106, allocations: 20.23 kB / 1.361 GB, free: 32 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004657/0.411, allocations: 187.4 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 1.533e-06/0.411, allocations: 0 / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.0007375/0.4118, allocations: 374.7 kB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.4119, allocations: 136.5 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.4123, allocations: 329 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.4123, allocations: 29.7 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4124, allocations: 132.7 kB / 1.362 GB, free: 14.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.4125, allocations: 123 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4126, allocations: 69.55 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4128, allocations: 338.8 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.413, allocations: 79.95 kB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.4132, allocations: 131.5 kB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.4135, allocations: 213.2 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4135, allocations: 0 / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004731/0.414, allocations: 285.1 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.414, allocations: 15.94 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.414, allocations: 0 / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.414, allocations: 0 / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.4143, allocations: 67.89 kB / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4143, allocations: 4 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.4144, allocations: 27.78 kB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.4145, allocations: 11.98 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001843/0.4147, allocations: 166.3 kB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.4147, allocations: 31.8 kB / 1.364 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007075/0.4154, allocations: 392.6 kB / 1.364 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4154, allocations: 8 kB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4154, allocations: 0 / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4154, allocations: 4.031 kB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.4158, allocations: 324.3 kB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4158, allocations: 0 / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.416, allocations: 59.91 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.416, allocations: 3.938 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.416, allocations: 19.98 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.416, allocations: 0 / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.416, allocations: 3.984 kB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.4166, allocations: 330.5 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4167, allocations: 71.67 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.4168, allocations: 11.94 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.4169, allocations: 19.98 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.417, allocations: 23.95 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.417, allocations: 15.98 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002584/0.4173, allocations: 244.4 kB / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4173, allocations: 4 kB / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003549/0.4177, allocations: 83.86 kB / 1.365 GB, free: 11.57 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002316/0.42, allocations: 1.222 MB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000453/0.4204, allocations: 224.1 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4204, allocations: 0 / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.4206, allocations: 119.8 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.4209, allocations: 37.73 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.4242, allocations: 2.569 MB / 1.369 GB, free: 7.465 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.4246, allocations: 0.7692 MB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003373/0.4249, allocations: 146.9 kB / 1.37 GB, free: 6.523 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.4251, allocations: 99.39 kB / 1.37 GB, free: 6.426 MB / 1.061 GB Notification: Performance of SimCode: time 3.51e-07/0.4251, allocations: 0 / 1.37 GB, free: 6.426 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.4604, allocations: 6.819 MB / 1.377 GB, free: 15.67 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.31, allocations: 15.78 kB / 1.377 GB, free: 15.66 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.59053139999969]