Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001798/0.001798, allocations: 108.1 kB / 16.46 MB, free: 6.512 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.002147/0.002147, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.45/1.45, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.806/2.806, allocations: 476.7 MB / 0.7672 GB, free: 5.223 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_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.002001/0.002001, allocations: 70.25 kB / 1.112 GB, free: 1.512 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7694, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003815/0.7733, allocations: 1.931 MB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002803/0.7761, allocations: 1.752 MB / 1.282 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.7762, allocations: 4 kB / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.7764, allocations: 31.8 kB / 1.282 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004441/0.7769, allocations: 119.4 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.7773, allocations: 175.1 kB / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003586/0.7777, allocations: 293.3 kB / 1.282 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.7778, allocations: 21.11 kB / 1.282 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.7779, allocations: 107.7 kB / 1.283 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.7782, allocations: 111.6 kB / 1.283 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.7782, allocations: 28 kB / 1.283 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.7784, allocations: 127.9 kB / 1.283 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.7786, allocations: 91.73 kB / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.7787, allocations: 127.2 kB / 1.283 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.7792, allocations: 376.5 kB / 1.283 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.7792, allocations: 0 / 1.283 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7792, allocations: 0 / 1.283 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.7792, allocations: 0 / 1.283 GB, free: 8.105 MB / 0.9825 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.000895/0.7801, allocations: 0.5962 MB / 1.284 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7801, allocations: 12.03 kB / 1.284 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.27e-05/0.7802, allocations: 54.67 kB / 1.284 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.7803, allocations: 36.69 kB / 1.284 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.7807, allocations: 282.8 kB / 1.284 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.7807, allocations: 12.38 kB / 1.284 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.7807, allocations: 19.94 kB / 1.284 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.7812, allocations: 240.9 kB / 1.285 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.7812, allocations: 4 kB / 1.285 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.7812, allocations: 8 kB / 1.285 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.7812, allocations: 4 kB / 1.285 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009616/0.7822, allocations: 0.7606 MB / 1.285 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.7833, allocations: 0.6293 MB / 1.286 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.7838, allocations: 294.4 kB / 1.286 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.784, allocations: 105.4 kB / 1.286 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.784, allocations: 16.25 kB / 1.286 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.7844, allocations: 179.4 kB / 1.287 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.743e-06/0.7844, allocations: 0 / 1.287 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007527/0.7851, allocations: 384.4 kB / 1.287 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.176e-05/0.7852, allocations: 136.5 kB / 1.287 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.7856, allocations: 328.9 kB / 1.287 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.7856, allocations: 29.7 kB / 1.287 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.7857, allocations: 136.7 kB / 1.288 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.7858, allocations: 130.9 kB / 1.288 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.7859, allocations: 65.69 kB / 1.288 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7861, allocations: 338.8 kB / 1.288 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.7862, allocations: 83.81 kB / 1.288 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.7864, allocations: 127.5 kB / 1.288 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.7868, allocations: 216.6 kB / 1.288 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7868, allocations: 0 / 1.288 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004945/0.7873, allocations: 289.7 kB / 1.289 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.7873, allocations: 14.44 kB / 1.289 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7873, allocations: 0 / 1.289 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.7873, allocations: 3.984 kB / 1.289 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.7876, allocations: 59.91 kB / 1.289 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7876, allocations: 4 kB / 1.289 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.7878, allocations: 34.69 kB / 1.289 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.7878, allocations: 11.94 kB / 1.289 GB, free: 2.254 MB / 0.9825 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.788, allocations: 164.2 kB / 1.289 GB, free: 2.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.788, allocations: 35.75 kB / 1.289 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000759/0.7888, allocations: 384.6 kB / 1.289 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7888, allocations: 4 kB / 1.289 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7888, allocations: 3.984 kB / 1.289 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.7888, allocations: 0 / 1.289 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.7892, allocations: 349.3 kB / 1.29 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7892, allocations: 0 / 1.29 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.7894, allocations: 63.91 kB / 1.29 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.7894, allocations: 3.938 kB / 1.29 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.7894, allocations: 15.98 kB / 1.29 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.7894, allocations: 0 / 1.29 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7894, allocations: 0 / 1.29 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/0.7899, allocations: 322.3 kB / 1.29 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.7901, allocations: 148.8 kB / 1.29 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.7901, allocations: 11.94 kB / 1.29 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.7903, allocations: 31.97 kB / 1.29 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.7904, allocations: 23.97 kB / 1.29 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.7904, allocations: 12 kB / 1.29 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000252/0.7907, allocations: 248.4 kB / 1.291 GB, free: 376 kB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7907, allocations: 0 / 1.291 GB, free: 376 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003529/0.791, allocations: 83.81 kB / 1.291 GB, free: 292 kB / 0.9825 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.002462/0.7935, allocations: 1.224 MB / 1.292 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004677/0.7939, allocations: 228.1 kB / 1.292 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7939, allocations: 0 / 1.292 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.7942, allocations: 123.8 kB / 1.292 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.7945, allocations: 41.47 kB / 1.292 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.798, allocations: 2.58 MB / 1.295 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.7984, allocations: 0.7696 MB / 1.296 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003688/0.7988, allocations: 146.9 kB / 1.296 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.799, allocations: 107.4 kB / 1.296 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/0.799, allocations: 0 / 1.296 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.8346, allocations: 6.554 MB / 1.302 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.67/9.505, allocations: 13.3 kB / 1.302 GB, free: 4.668 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.745127394795418]