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.001829/0.001829, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00228/0.00228, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 7.801 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.081/3.081, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] 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.001983/0.001983, allocations: 67.97 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3616, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003475/0.3651, allocations: 1.888 MB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.3679, allocations: 1.788 MB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.187e-05/0.368, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.3682, allocations: 27.78 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.3686, allocations: 123.3 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.3691, allocations: 175.4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.3695, allocations: 293.4 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3696, allocations: 21.3 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.3698, allocations: 107.7 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.37, allocations: 107.6 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.37, allocations: 24 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.3703, allocations: 131.9 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3704, allocations: 87.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3705, allocations: 107.4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004944/0.371, allocations: 378.5 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.371, allocations: 3.984 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.371, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.371, allocations: 0 / 1.331 GB, free: 12.21 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.0009813/0.372, allocations: 0.513 MB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3721, allocations: 12.03 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.833e-05/0.3721, allocations: 58.67 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.3723, allocations: 32.75 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.3727, allocations: 225 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.3727, allocations: 16.38 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.3727, allocations: 19.94 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.3732, allocations: 370.1 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3732, allocations: 4 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.3733, allocations: 8 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.3733, allocations: 4 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009247/0.3742, allocations: 0.7021 MB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3752, allocations: 0.5699 MB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/0.3758, allocations: 286.6 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.376, allocations: 101.4 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.376, allocations: 16.27 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004262/0.3765, allocations: 238.8 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 1.763e-06/0.3765, allocations: 0 / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007173/0.3772, allocations: 382 kB / 1.334 GB, free: 8.496 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.928e-05/0.3773, allocations: 132.5 kB / 1.335 GB, free: 8.336 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.3776, allocations: 325.1 kB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.3776, allocations: 29.7 kB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3778, allocations: 136.7 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3779, allocations: 126.9 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.378, allocations: 69.55 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3781, allocations: 334.8 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.3783, allocations: 87.89 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.3785, allocations: 212.6 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.3788, allocations: 209.2 kB / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3788, allocations: 0 / 1.336 GB, free: 6.762 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004858/0.3793, allocations: 289.1 kB / 1.336 GB, free: 6.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3794, allocations: 7.938 kB / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3794, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3794, allocations: 0 / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.3796, allocations: 67.91 kB / 1.336 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3796, allocations: 3.938 kB / 1.336 GB, free: 6.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.3798, allocations: 27.88 kB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3798, allocations: 12 kB / 1.336 GB, free: 6.355 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.0001684/0.38, allocations: 165.8 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.38, allocations: 35.73 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/0.3807, allocations: 388.7 kB / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3807, allocations: 8.031 kB / 1.337 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3807, allocations: 0 / 1.337 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3807, allocations: 0 / 1.337 GB, free: 5.754 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.3811, allocations: 284.4 kB / 1.337 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3811, allocations: 3.984 kB / 1.337 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.3813, allocations: 59.92 kB / 1.337 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3813, allocations: 7.922 kB / 1.337 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.3813, allocations: 12 kB / 1.337 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3813, allocations: 8 kB / 1.337 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3813, allocations: 0 / 1.337 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.3818, allocations: 330.5 kB / 1.338 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.382, allocations: 63.73 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.382, allocations: 11.94 kB / 1.338 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3822, allocations: 23.97 kB / 1.338 GB, free: 4.906 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.3823, allocations: 23.95 kB / 1.338 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.3823, allocations: 19.98 kB / 1.338 GB, free: 4.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002558/0.3826, allocations: 244.4 kB / 1.338 GB, free: 4.629 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3826, allocations: 4 kB / 1.338 GB, free: 4.625 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003555/0.3829, allocations: 87.77 kB / 1.338 GB, free: 4.539 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.00241/0.3853, allocations: 1.249 MB / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.3858, allocations: 228.1 kB / 1.34 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3858, allocations: 4 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.386, allocations: 119.8 kB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.3863, allocations: 46.88 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.3896, allocations: 2.559 MB / 1.342 GB, free: 440 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.3898, allocations: 158.9 kB / 1.342 GB, free: 256 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003339/0.3901, allocations: 142.9 kB / 1.342 GB, free: 116 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.3903, allocations: 107.4 kB / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3903, allocations: 0 / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.4279, allocations: 7.318 MB / 1.35 GB, free: 8.762 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.43, allocations: 11.81 kB / 1.35 GB, free: 8.754 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.085454580985243]