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.001399/0.001399, allocations: 110.3 kB / 16.46 MB, free: 6.453 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.001612/0.001612, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.549/1.549, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.372/3.372, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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.002002/0.002002, allocations: 74.11 kB / 1.172 GB, free: 17.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4249, allocations: 180.2 MB / 1.348 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003523/0.4284, allocations: 1.916 MB / 1.35 GB, free: 8.164 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00254/0.431, allocations: 1.76 MB / 1.351 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.431, allocations: 3.938 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002481/0.4313, allocations: 19.8 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.4317, allocations: 127.4 kB / 1.352 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.4321, allocations: 171.6 kB / 1.352 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.4324, allocations: 297.2 kB / 1.352 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.4326, allocations: 29.05 kB / 1.352 GB, free: 5.762 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.4327, allocations: 103.7 kB / 1.352 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.4329, allocations: 121.5 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.433, allocations: 20 kB / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.4332, allocations: 135.9 kB / 1.352 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.4333, allocations: 91.78 kB / 1.352 GB, free: 5.301 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.4334, allocations: 127.2 kB / 1.353 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.4339, allocations: 370.5 kB / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4339, allocations: 0 / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4339, allocations: 0 / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.4339, allocations: 4 kB / 1.353 GB, free: 4.809 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.0008773/0.4348, allocations: 0.5962 MB / 1.353 GB, free: 4.164 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4348, allocations: 11.98 kB / 1.354 GB, free: 4.152 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.613e-05/0.4349, allocations: 58.73 kB / 1.354 GB, free: 4.086 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.435, allocations: 36.69 kB / 1.354 GB, free: 4.051 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.4353, allocations: 278.9 kB / 1.354 GB, free: 3.742 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.4354, allocations: 12.38 kB / 1.354 GB, free: 3.73 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.4354, allocations: 27.88 kB / 1.354 GB, free: 3.703 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.4358, allocations: 232.9 kB / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.4358, allocations: 0 / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.4358, allocations: 15.98 kB / 1.354 GB, free: 3.441 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4358, allocations: 8 kB / 1.354 GB, free: 3.434 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009198/0.4368, allocations: 0.749 MB / 1.355 GB, free: 2.684 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.4378, allocations: 0.637 MB / 1.355 GB, free: 1.992 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.4383, allocations: 293.9 kB / 1.356 GB, free: 1.699 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.4385, allocations: 101.4 kB / 1.356 GB, free: 1.598 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.746e-05/0.4385, allocations: 20.25 kB / 1.356 GB, free: 1.578 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.4389, allocations: 175.4 kB / 1.356 GB, free: 1.395 MB / 1.045 GB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.4389, allocations: 0 / 1.356 GB, free: 1.395 MB / 1.045 GB Notification: Performance of matching and sorting (n=35): time 0.0006984/0.4396, allocations: 383.1 kB / 1.356 GB, free: 1.016 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.4397, allocations: 136.5 kB / 1.357 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.44, allocations: 328.9 kB / 1.357 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.4401, allocations: 33.7 kB / 1.357 GB, free: 488 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.4402, allocations: 132.7 kB / 1.357 GB, free: 352 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.4403, allocations: 122.9 kB / 1.357 GB, free: 228 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.604e-05/0.4404, allocations: 69.55 kB / 1.357 GB, free: 152 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4405, allocations: 338.8 kB / 1.358 GB, free: 15.81 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.4407, allocations: 79.95 kB / 1.358 GB, free: 15.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.4409, allocations: 127.4 kB / 1.358 GB, free: 15.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.4412, allocations: 217.4 kB / 1.358 GB, free: 15.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4412, allocations: 3.938 kB / 1.358 GB, free: 15.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000454/0.4417, allocations: 281.2 kB / 1.358 GB, free: 15.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.4417, allocations: 11.94 kB / 1.358 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4417, allocations: 0 / 1.358 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4417, allocations: 0 / 1.358 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.4419, allocations: 67.89 kB / 1.358 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4419, allocations: 4 kB / 1.358 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.4421, allocations: 27.84 kB / 1.358 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.4421, allocations: 11.98 kB / 1.358 GB, free: 14.97 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.0001747/0.4423, allocations: 165.7 kB / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.268e-05/0.4424, allocations: 31.8 kB / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000701/0.4431, allocations: 384.6 kB / 1.359 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4431, allocations: 4 kB / 1.359 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4431, allocations: 0 / 1.359 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.4431, allocations: 3.984 kB / 1.359 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.4434, allocations: 349.3 kB / 1.359 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4434, allocations: 4 kB / 1.359 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.4436, allocations: 59.91 kB / 1.359 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4436, allocations: 11.94 kB / 1.359 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.4437, allocations: 11.98 kB / 1.359 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4437, allocations: 0 / 1.359 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4437, allocations: 0 / 1.359 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.4442, allocations: 330.2 kB / 1.36 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.4443, allocations: 148.8 kB / 1.36 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.4444, allocations: 15.94 kB / 1.36 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.4446, allocations: 23.98 kB / 1.36 GB, free: 13.35 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.4446, allocations: 23.95 kB / 1.36 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.4446, allocations: 12 kB / 1.36 GB, free: 13.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002434/0.4449, allocations: 248.4 kB / 1.36 GB, free: 13.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4449, allocations: 0 / 1.36 GB, free: 13.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003433/0.4452, allocations: 83.86 kB / 1.36 GB, free: 12.99 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.00235/0.4476, allocations: 1.226 MB / 1.361 GB, free: 11.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000453/0.448, allocations: 227.8 kB / 1.362 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.448, allocations: 0 / 1.362 GB, free: 11.68 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.4482, allocations: 123.8 kB / 1.362 GB, free: 11.56 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.4485, allocations: 44.36 kB / 1.362 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.452, allocations: 2.565 MB / 1.364 GB, free: 8.879 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/0.4524, allocations: 0.7692 MB / 1.365 GB, free: 8.082 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003338/0.4527, allocations: 146.8 kB / 1.365 GB, free: 7.941 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.4529, allocations: 103.4 kB / 1.365 GB, free: 7.84 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4529, allocations: 0 / 1.365 GB, free: 7.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.032/0.4849, allocations: 6.552 MB / 1.372 GB, free: 1.395 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.839, allocations: 18.17 kB / 1.372 GB, free: 1.383 MB / 1.061 GB " [Timeout remaining time 291] (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: 16.250780560076237]