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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 101.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 497.2 MB / 0.7812 GB, free: 12.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.89 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9536/0.9556, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002745/0.9583, allocations: 1.882 MB / 1.306 GB, free: 30.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.9602, allocations: 1.597 MB / 1.307 GB, free: 29.73 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.9603, allocations: 0 / 1.307 GB, free: 29.73 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.9605, allocations: 29.12 kB / 1.307 GB, free: 29.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.9609, allocations: 73.39 kB / 1.307 GB, free: 29.67 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.9613, allocations: 181.5 kB / 1.308 GB, free: 29.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.9615, allocations: 283.3 kB / 1.308 GB, free: 29.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.9616, allocations: 24.7 kB / 1.308 GB, free: 29.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.9617, allocations: 99.22 kB / 1.308 GB, free: 29.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.9619, allocations: 107.9 kB / 1.308 GB, free: 29.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.962, allocations: 20 kB / 1.308 GB, free: 29.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.9621, allocations: 83.64 kB / 1.308 GB, free: 29.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-05/0.9622, allocations: 88.36 kB / 1.308 GB, free: 29.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.9623, allocations: 122.4 kB / 1.308 GB, free: 29.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.9626, allocations: 330.9 kB / 1.309 GB, free: 29.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.9626, allocations: 6.719 kB / 1.309 GB, free: 29.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9626, allocations: 0 / 1.309 GB, free: 29.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.9627, allocations: 0 / 1.309 GB, free: 29.07 MB / 1.061 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.0007142/0.9634, allocations: 0.5701 MB / 1.309 GB, free: 28.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.9634, allocations: 10.12 kB / 1.309 GB, free: 28.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.9635, allocations: 54.23 kB / 1.309 GB, free: 28.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.9636, allocations: 34.88 kB / 1.309 GB, free: 28.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.9639, allocations: 271.4 kB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.9639, allocations: 16.06 kB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.9639, allocations: 18.69 kB / 1.31 GB, free: 28.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.9643, allocations: 246.5 kB / 1.31 GB, free: 28.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.9643, allocations: 0 / 1.31 GB, free: 28.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.9643, allocations: 6.344 kB / 1.31 GB, free: 28.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.9643, allocations: 5.594 kB / 1.31 GB, free: 28.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.965, allocations: 0.7443 MB / 1.311 GB, free: 28.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.9659, allocations: 0.6391 MB / 1.311 GB, free: 27.59 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.9663, allocations: 289 kB / 1.312 GB, free: 27.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.9664, allocations: 110.2 kB / 1.312 GB, free: 27.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.9664, allocations: 19.78 kB / 1.312 GB, free: 27.44 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.9667, allocations: 182.6 kB / 1.312 GB, free: 27.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.9667, allocations: 4 kB / 1.312 GB, free: 27.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.0006342/0.9674, allocations: 387 kB / 1.312 GB, free: 27.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.9674, allocations: 135.4 kB / 1.312 GB, free: 27.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.9677, allocations: 304.1 kB / 1.313 GB, free: 26.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.9677, allocations: 32.36 kB / 1.313 GB, free: 26.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.9677, allocations: 138.9 kB / 1.313 GB, free: 26.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.9678, allocations: 127 kB / 1.313 GB, free: 26.62 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.9679, allocations: 68.48 kB / 1.313 GB, free: 26.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.689e-05/0.968, allocations: 342.2 kB / 1.313 GB, free: 26.26 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.9681, allocations: 82.34 kB / 1.313 GB, free: 26.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.9682, allocations: 127.3 kB / 1.314 GB, free: 26.17 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.9685, allocations: 214.8 kB / 1.314 GB, free: 26.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9685, allocations: 0 / 1.314 GB, free: 26.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003663/0.9689, allocations: 278 kB / 1.314 GB, free: 25.97 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.9689, allocations: 9.906 kB / 1.314 GB, free: 25.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9689, allocations: 0 / 1.314 GB, free: 25.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9689, allocations: 4 kB / 1.314 GB, free: 25.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.9691, allocations: 68.36 kB / 1.314 GB, free: 25.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9691, allocations: 2.156 kB / 1.314 GB, free: 25.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.9693, allocations: 26.98 kB / 1.314 GB, free: 25.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.9693, allocations: 13.25 kB / 1.314 GB, free: 25.94 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.0001208/0.9694, allocations: 164.9 kB / 1.314 GB, free: 25.8 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.9694, allocations: 32.03 kB / 1.314 GB, free: 25.78 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005542/0.97, allocations: 385.2 kB / 1.315 GB, free: 25.62 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.97, allocations: 2.812 kB / 1.315 GB, free: 25.62 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.97, allocations: 0 / 1.315 GB, free: 25.62 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.97, allocations: 10.31 kB / 1.315 GB, free: 25.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.9703, allocations: 344 kB / 1.315 GB, free: 25.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.9703, allocations: 0 / 1.315 GB, free: 25.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.9704, allocations: 55.14 kB / 1.315 GB, free: 25.35 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.9704, allocations: 6.156 kB / 1.315 GB, free: 25.35 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.9704, allocations: 15.83 kB / 1.315 GB, free: 25.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.9704, allocations: 2.188 kB / 1.315 GB, free: 25.34 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9704, allocations: 3.938 kB / 1.315 GB, free: 25.34 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.9708, allocations: 329.6 kB / 1.315 GB, free: 25.17 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.9709, allocations: 148.4 kB / 1.316 GB, free: 25.04 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.971, allocations: 10.56 kB / 1.316 GB, free: 25.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.9712, allocations: 25.2 kB / 1.316 GB, free: 25.03 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.9712, allocations: 22.97 kB / 1.316 GB, free: 25.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.9712, allocations: 14.5 kB / 1.316 GB, free: 25.02 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000152/0.9714, allocations: 238.5 kB / 1.316 GB, free: 24.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.9714, allocations: 0 / 1.316 GB, free: 24.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002854/0.9717, allocations: 66.56 kB / 1.316 GB, free: 24.88 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.001778/0.9734, allocations: 1.169 MB / 1.317 GB, free: 24.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.9738, allocations: 217.8 kB / 1.317 GB, free: 24.03 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9738, allocations: 2.625 kB / 1.317 GB, free: 24.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.974, allocations: 120.5 kB / 1.317 GB, free: 24 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.9743, allocations: 50.69 kB / 1.317 GB, free: 23.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.9766, allocations: 2.536 MB / 1.32 GB, free: 22.37 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.9768, allocations: 0.7644 MB / 1.321 GB, free: 21.66 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002931/0.9771, allocations: 148.8 kB / 1.321 GB, free: 21.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.9772, allocations: 99.73 kB / 1.321 GB, free: 21.56 MB / 1.061 GB Notification: Performance of SimCode: time 6.51e-07/0.9772, allocations: 0 / 1.321 GB, free: 21.56 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/1.01, allocations: 6.082 MB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/9.381, allocations: 3.125 kB / 1.327 GB, free: 20.58 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.71115563903004]