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.001737/0.001737, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.002026/0.002026, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.7611 GB, free: 11.28 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.001956/0.001956, allocations: 67.89 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8521/0.8541, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003486/0.8576, allocations: 1.879 MB / 1.271 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.86, allocations: 1.594 MB / 1.272 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.8601, allocations: 4 kB / 1.272 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.8604, allocations: 35.77 kB / 1.272 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.8607, allocations: 71.56 kB / 1.272 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.8612, allocations: 175.6 kB / 1.272 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.8615, allocations: 281.4 kB / 1.273 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.8616, allocations: 25.11 kB / 1.273 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.8617, allocations: 99.73 kB / 1.273 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.862, allocations: 107.7 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.862, allocations: 23.94 kB / 1.273 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.8622, allocations: 79.97 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.8623, allocations: 87.8 kB / 1.273 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.8624, allocations: 119.3 kB / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.8628, allocations: 324.6 kB / 1.274 GB, free: 288 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8628, allocations: 4 kB / 1.274 GB, free: 284 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8628, allocations: 3.938 kB / 1.274 GB, free: 280 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.8628, allocations: 4 kB / 1.274 GB, free: 276 kB / 0.9669 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.0008456/0.8637, allocations: 0.5768 MB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.8637, allocations: 8.031 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/0.8638, allocations: 54.73 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.8639, allocations: 36.73 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.8643, allocations: 274.9 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.8643, allocations: 12.38 kB / 1.274 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.8643, allocations: 27.92 kB / 1.274 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.8647, allocations: 240.8 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.8647, allocations: 4 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.8648, allocations: 8 kB / 1.275 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.8648, allocations: 4 kB / 1.275 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009187/0.8657, allocations: 0.7451 MB / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.8668, allocations: 0.641 MB / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.8673, allocations: 298.4 kB / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.8674, allocations: 93.38 kB / 1.276 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.8675, allocations: 24.25 kB / 1.276 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003878/0.8679, allocations: 183.4 kB / 1.277 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.482e-06/0.8679, allocations: 0 / 1.277 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007126/0.8686, allocations: 386.2 kB / 1.277 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/0.8687, allocations: 132.5 kB / 1.277 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.869, allocations: 309 kB / 1.277 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.869, allocations: 33.7 kB / 1.277 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.8691, allocations: 132.7 kB / 1.278 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.8692, allocations: 127 kB / 1.278 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.633e-05/0.8693, allocations: 69.62 kB / 1.278 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8695, allocations: 338.8 kB / 1.278 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.8697, allocations: 83.95 kB / 1.278 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.8698, allocations: 129.1 kB / 1.278 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.8702, allocations: 209.1 kB / 1.279 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8702, allocations: 0 / 1.279 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004602/0.8707, allocations: 289.3 kB / 1.279 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.8707, allocations: 11.92 kB / 1.279 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.8707, allocations: 0 / 1.279 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8707, allocations: 0 / 1.279 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.8709, allocations: 63.91 kB / 1.279 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.8709, allocations: 0 / 1.279 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.8711, allocations: 27.83 kB / 1.279 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.8711, allocations: 12 kB / 1.279 GB, free: 10.47 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.0001766/0.8713, allocations: 169.7 kB / 1.279 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-05/0.8713, allocations: 39.67 kB / 1.279 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/0.872, allocations: 392.7 kB / 1.279 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.8721, allocations: 7.984 kB / 1.279 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8721, allocations: 0 / 1.279 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8721, allocations: 0 / 1.279 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.8724, allocations: 341.3 kB / 1.28 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8724, allocations: 4 kB / 1.28 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.8726, allocations: 63.91 kB / 1.28 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8726, allocations: 3.938 kB / 1.28 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.8726, allocations: 8 kB / 1.28 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.8726, allocations: 4 kB / 1.28 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.8726, allocations: 0 / 1.28 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.8731, allocations: 325.8 kB / 1.28 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001692/0.8733, allocations: 144.8 kB / 1.28 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.8733, allocations: 7.938 kB / 1.28 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.8735, allocations: 27.91 kB / 1.28 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.8736, allocations: 28 kB / 1.28 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.8736, allocations: 15.98 kB / 1.28 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002267/0.8738, allocations: 240.4 kB / 1.281 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8738, allocations: 0 / 1.281 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002988/0.8741, allocations: 71.89 kB / 1.281 GB, free: 8.516 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.002146/0.8763, allocations: 1.163 MB / 1.282 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.8767, allocations: 215.7 kB / 1.282 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8767, allocations: 4 kB / 1.282 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.8769, allocations: 124.7 kB / 1.282 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.8772, allocations: 44.95 kB / 1.282 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.8803, allocations: 2.529 MB / 1.285 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.8807, allocations: 0.7697 MB / 1.285 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003414/0.8811, allocations: 146.8 kB / 1.286 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.8812, allocations: 96.27 kB / 1.286 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.8812, allocations: 0 / 1.286 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03284/0.9141, allocations: 6.084 MB / 1.292 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/9.178, allocations: 17.11 kB / 1.292 GB, free: 13.47 MB / 0.9981 GB " [Timeout remaining time 291] (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_2/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.298024107236415]