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.001871/0.001871, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002482/0.002482, allocations: 218 kB / 23.04 MB, free: 5.074 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.765/2.765, allocations: 476.7 MB / 0.7715 GB, free: 4.293 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="cs",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.002124/0.002124, allocations: 68.53 kB / 1.118 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3555, allocations: 169.9 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003636/0.3591, allocations: 1.943 MB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002956/0.3621, allocations: 1.862 MB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3622, allocations: 0 / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.3624, allocations: 27.8 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.3629, allocations: 123.3 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.3633, allocations: 175.6 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.3637, allocations: 301.3 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3638, allocations: 21.3 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.364, allocations: 99.81 kB / 1.289 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.3643, allocations: 119.6 kB / 1.289 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.3644, allocations: 20 kB / 1.289 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.3646, allocations: 131.9 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3648, allocations: 95.67 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.3649, allocations: 127.3 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.3654, allocations: 370.6 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3654, allocations: 0 / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3654, allocations: 4 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.3655, allocations: 0 / 1.289 GB, free: 6.406 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.0009795/0.3664, allocations: 0.5223 MB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3665, allocations: 12.03 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.152e-05/0.3665, allocations: 4.188 kB / 1.29 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.3666, allocations: 54.73 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.3667, allocations: 32.75 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.3671, allocations: 225 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.3671, allocations: 24.08 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.3672, allocations: 19.94 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.3676, allocations: 233 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3676, allocations: 0 / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.3676, allocations: 8 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3676, allocations: 4 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009877/0.3686, allocations: 0.7567 MB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3698, allocations: 0.6089 MB / 1.292 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005287/0.3703, allocations: 290.4 kB / 1.292 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.3705, allocations: 101.4 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.43e-05/0.3705, allocations: 16.25 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.3709, allocations: 195.3 kB / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.3709, allocations: 0 / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007204/0.3716, allocations: 375.5 kB / 1.293 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/0.3717, allocations: 132.5 kB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.3721, allocations: 321.1 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.3721, allocations: 33.7 kB / 1.293 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3722, allocations: 140.7 kB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.3723, allocations: 119 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3724, allocations: 65.69 kB / 1.294 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3726, allocations: 342.8 kB / 1.294 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.3728, allocations: 83.81 kB / 1.294 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.373, allocations: 132.4 kB / 1.294 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.3733, allocations: 212.6 kB / 1.294 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3733, allocations: 0 / 1.294 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005177/0.3738, allocations: 293.7 kB / 1.295 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.3738, allocations: 7.938 kB / 1.295 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3739, allocations: 0 / 1.295 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3739, allocations: 4 kB / 1.295 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3741, allocations: 59.91 kB / 1.295 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.3741, allocations: 4 kB / 1.295 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.3743, allocations: 27.25 kB / 1.295 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.685e-05/0.3743, allocations: 16 kB / 1.295 GB, free: 0.7656 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.0001835/0.3745, allocations: 167.6 kB / 1.295 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/0.3745, allocations: 35.73 kB / 1.295 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007211/0.3753, allocations: 388.7 kB / 1.295 GB, free: 176 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3753, allocations: 4 kB / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3753, allocations: 0 / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3753, allocations: 0 / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.3757, allocations: 324.4 kB / 1.296 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3757, allocations: 0 / 1.296 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3758, allocations: 55.97 kB / 1.296 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/0.3759, allocations: 11.72 kB / 1.296 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.3759, allocations: 11.98 kB / 1.296 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3759, allocations: 4 kB / 1.296 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3759, allocations: 4 kB / 1.296 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005834/0.3765, allocations: 322.5 kB / 1.296 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3766, allocations: 75.66 kB / 1.296 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.3767, allocations: 8 kB / 1.296 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.3768, allocations: 23.97 kB / 1.296 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.3769, allocations: 23.95 kB / 1.296 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.3769, allocations: 16 kB / 1.296 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002511/0.3772, allocations: 248.4 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3772, allocations: 0 / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003472/0.3775, allocations: 91.75 kB / 1.296 GB, free: 14.91 MB / 0.9981 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.002321/0.3798, allocations: 1.222 MB / 1.298 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004274/0.3803, allocations: 216.3 kB / 1.298 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3803, allocations: 0 / 1.298 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.3805, allocations: 128.3 kB / 1.298 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.3808, allocations: 46.22 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.384, allocations: 2.573 MB / 1.3 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.3844, allocations: 0.7619 MB / 1.301 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003312/0.3847, allocations: 146.9 kB / 1.301 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.3849, allocations: 107.4 kB / 1.301 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/0.3849, allocations: 0 / 1.301 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.4166, allocations: 6.853 MB / 1.308 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 9.922 kB / 1.308 GB, free: 2.98 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 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.mat","/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: 19.06025637598941]