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.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.001727/0.001727, allocations: 104.1 kB / 19.19 MB, free: 2.48 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.002275/0.002275, allocations: 187 kB / 22.51 MB, free: 5.422 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.426/1.426, allocations: 225.6 MB / 251.4 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.76/2.76, allocations: 476.7 MB / 0.765 GB, free: 9.742 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.91 kB / 1.11 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8376/0.8397, allocations: 168.8 MB / 1.274 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004171/0.8438, allocations: 1.914 MB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.847, allocations: 1.703 MB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.8471, allocations: 0 / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.8474, allocations: 23.8 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.8478, allocations: 83.53 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.8484, allocations: 171 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.8488, allocations: 281.4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.849, allocations: 21.11 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001926/0.8492, allocations: 107.7 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.8495, allocations: 103.7 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.8495, allocations: 20 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.8498, allocations: 87.95 kB / 1.279 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.8499, allocations: 87.73 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.8501, allocations: 123.3 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.8506, allocations: 328.6 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8506, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8506, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.8506, allocations: 0 / 1.279 GB, free: 14.95 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.001162/0.8518, allocations: 0.5768 MB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.8519, allocations: 12.03 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.8519, allocations: 50.73 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.8522, allocations: 36.75 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.8525, allocations: 270.9 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.8526, allocations: 12.38 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.8526, allocations: 23.94 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.8531, allocations: 248.8 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.8531, allocations: 0 / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.8531, allocations: 12 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.8531, allocations: 4 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.8541, allocations: 0.7451 MB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.8553, allocations: 0.6409 MB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.8559, allocations: 298.4 kB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.8561, allocations: 97.38 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.8561, allocations: 20.25 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004125/0.8565, allocations: 183.4 kB / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.8565, allocations: 0 / 1.282 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007659/0.8573, allocations: 390.1 kB / 1.283 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.8574, allocations: 136.5 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.8578, allocations: 309 kB / 1.283 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.8578, allocations: 29.7 kB / 1.283 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.8579, allocations: 136.7 kB / 1.283 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.858, allocations: 122.9 kB / 1.283 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.8581, allocations: 65.69 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8583, allocations: 338.8 kB / 1.284 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.8585, allocations: 87.89 kB / 1.284 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.8587, allocations: 121.2 kB / 1.284 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.859, allocations: 217.1 kB / 1.284 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.859, allocations: 0 / 1.284 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005102/0.8595, allocations: 285.2 kB / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8596, allocations: 11.94 kB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8596, allocations: 0 / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.8596, allocations: 0 / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.8598, allocations: 63.91 kB / 1.285 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.8598, allocations: 4 kB / 1.285 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.86, allocations: 35.83 kB / 1.285 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.86, allocations: 11.98 kB / 1.285 GB, free: 9.137 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.0001897/0.8602, allocations: 161.8 kB / 1.285 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.8603, allocations: 27.8 kB / 1.285 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007166/0.861, allocations: 392.8 kB / 1.285 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.861, allocations: 4 kB / 1.285 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.861, allocations: 0 / 1.285 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.861, allocations: 3.984 kB / 1.285 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.8614, allocations: 341.3 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.8614, allocations: 0 / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/0.8616, allocations: 59.91 kB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.8616, allocations: 7.938 kB / 1.286 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.8616, allocations: 11.98 kB / 1.286 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8616, allocations: 0 / 1.286 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8616, allocations: 0 / 1.286 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.8621, allocations: 329.8 kB / 1.286 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.8623, allocations: 144.8 kB / 1.286 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.8624, allocations: 11.94 kB / 1.286 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.8625, allocations: 23.97 kB / 1.286 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.8626, allocations: 23.95 kB / 1.286 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.8626, allocations: 12.05 kB / 1.286 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002503/0.8629, allocations: 236.4 kB / 1.286 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8629, allocations: 0 / 1.286 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003249/0.8632, allocations: 71.89 kB / 1.286 GB, free: 7.215 MB / 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.002278/0.8655, allocations: 1.174 MB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004606/0.866, allocations: 215.7 kB / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.866, allocations: 0 / 1.288 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.8662, allocations: 124.7 kB / 1.288 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.8665, allocations: 40.42 kB / 1.288 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.87, allocations: 2.533 MB / 1.29 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.8704, allocations: 0.7692 MB / 1.291 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003794/0.8708, allocations: 154.7 kB / 1.291 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.871, allocations: 103.3 kB / 1.291 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.871, allocations: 0 / 1.291 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.9073, allocations: 6.234 MB / 1.298 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.572/9.48, allocations: 11.44 kB / 1.298 GB, free: 11.91 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 & /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: 15.641072347003501]