Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001346/0.001346, allocations: 110.4 kB / 18.94 MB, free: 2.812 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.002216/0.002216, allocations: 219 kB / 22.25 MB, free: 5.184 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 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.196/3.196, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_12_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.001957/0.001957, allocations: 61.62 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3653, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003514/0.3689, allocations: 1.931 MB / 1.328 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002831/0.3717, allocations: 1.858 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3718, allocations: 4 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.372, allocations: 31.7 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004088/0.3725, allocations: 123.4 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004663/0.3729, allocations: 170.3 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.3733, allocations: 301.3 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3734, allocations: 25.23 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.3735, allocations: 95.83 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.3738, allocations: 125.3 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.3738, allocations: 20 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.3741, allocations: 131.9 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.3742, allocations: 99.67 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.3743, allocations: 119.3 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.3748, allocations: 382.5 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3748, allocations: 4 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3748, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.3748, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 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.0008512/0.3757, allocations: 0.5169 MB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3757, allocations: 8.031 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.243e-05/0.3758, allocations: 54.73 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.376, allocations: 36.73 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.3763, allocations: 225 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.3763, allocations: 20.38 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.3763, allocations: 19.94 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.3767, allocations: 241.6 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3768, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.3768, allocations: 8 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.3768, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009039/0.3777, allocations: 0.749 MB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.3788, allocations: 0.6128 MB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.3793, allocations: 289.9 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.3794, allocations: 97.38 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.3795, allocations: 24.25 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.3799, allocations: 179.4 kB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.3799, allocations: 0 / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007308/0.3806, allocations: 386 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.3807, allocations: 132.5 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.3811, allocations: 317.1 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.3811, allocations: 33.7 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.3812, allocations: 144.7 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3813, allocations: 119 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-05/0.3814, allocations: 73.53 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3816, allocations: 342.8 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3817, allocations: 83.95 kB / 1.336 GB, free: 7.625 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.3819, allocations: 123.5 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.3823, allocations: 221.1 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3823, allocations: 4 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004684/0.3827, allocations: 285.1 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3827, allocations: 7.938 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3827, allocations: 0 / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3828, allocations: 4 kB / 1.336 GB, free: 6.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.383, allocations: 59.91 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.383, allocations: 0 / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.3832, allocations: 27.88 kB / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.3832, allocations: 15.98 kB / 1.336 GB, free: 6.871 MB / 1.029 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.000172/0.3834, allocations: 166.8 kB / 1.337 GB, free: 6.699 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.3834, allocations: 31.75 kB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007008/0.3841, allocations: 388.7 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3841, allocations: 4 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3841, allocations: 0 / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3841, allocations: 3.984 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.3845, allocations: 324.2 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3845, allocations: 0 / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.3847, allocations: 59.97 kB / 1.337 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3847, allocations: 3.938 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3847, allocations: 8 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.3847, allocations: 4 kB / 1.337 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3847, allocations: 7.984 kB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.3852, allocations: 330.4 kB / 1.338 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.3853, allocations: 67.73 kB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.3854, allocations: 11.94 kB / 1.338 GB, free: 5.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3856, allocations: 23.97 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.3856, allocations: 23.95 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.622e-05/0.3857, allocations: 23.98 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002399/0.3859, allocations: 244.4 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3859, allocations: 0 / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003381/0.3862, allocations: 91.75 kB / 1.338 GB, free: 5.016 MB / 1.029 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.002304/0.3885, allocations: 1.214 MB / 1.339 GB, free: 3.941 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.389, allocations: 224.1 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.389, allocations: 3.938 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.3892, allocations: 123.8 kB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3895, allocations: 49 kB / 1.34 GB, free: 3.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.3927, allocations: 2.561 MB / 1.342 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.3931, allocations: 0.7653 MB / 1.343 GB, free: 120 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003417/0.3935, allocations: 142.9 kB / 1.343 GB, free: 15.98 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.3936, allocations: 103.3 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.3936, allocations: 4 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.432, allocations: 6.826 MB / 1.35 GB, free: 9.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.06, allocations: 9.672 kB / 1.35 GB, free: 9.109 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.909809759999916]