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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 107.8 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.358/2.358, allocations: 461.9 MB / 0.7354 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6492, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002704/0.6519, allocations: 1.877 MB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.6539, allocations: 1.581 MB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.166e-05/0.654, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.6542, allocations: 31.78 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.6545, allocations: 75.55 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.6549, allocations: 170.9 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.6552, allocations: 281.4 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.6553, allocations: 37.09 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.6554, allocations: 95.8 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.6556, allocations: 111.6 kB / 1.213 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.6556, allocations: 20 kB / 1.213 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.6558, allocations: 79.98 kB / 1.213 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.771e-05/0.6559, allocations: 87.73 kB / 1.213 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.498e-05/0.656, allocations: 119.3 kB / 1.213 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.6563, allocations: 334.5 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6563, allocations: 4 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.093e-06/0.6563, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.6563, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 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.0006477/0.6569, allocations: 0.5597 MB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.657, allocations: 8.031 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.6571, allocations: 32.64 kB / 1.214 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.6574, allocations: 278.7 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.6574, allocations: 12.38 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.6574, allocations: 28.12 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.6578, allocations: 240.9 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.6578, allocations: 0 / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.6578, allocations: 8 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6578, allocations: 11.94 kB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.6586, allocations: 0.7451 MB / 1.215 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.6594, allocations: 0.6409 MB / 1.216 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.6599, allocations: 302 kB / 1.216 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.66, allocations: 109.4 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.6601, allocations: 28.17 kB / 1.216 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.6604, allocations: 183.4 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.6604, allocations: 0 / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35): time 0.0005857/0.661, allocations: 378.1 kB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.661, allocations: 132.5 kB / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.6613, allocations: 305 kB / 1.217 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.6613, allocations: 37.7 kB / 1.217 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.6614, allocations: 136.6 kB / 1.217 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.6615, allocations: 114.3 kB / 1.217 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/0.6616, allocations: 69.69 kB / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.6617, allocations: 342.8 kB / 1.218 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.6618, allocations: 79.95 kB / 1.218 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.662, allocations: 136.3 kB / 1.218 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.6623, allocations: 208.7 kB / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6623, allocations: 0 / 1.218 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000387/0.6627, allocations: 285.5 kB / 1.218 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.6627, allocations: 7.984 kB / 1.218 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.6627, allocations: 3.938 kB / 1.218 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.6627, allocations: 4 kB / 1.218 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.6629, allocations: 63.91 kB / 1.218 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.6629, allocations: 0 / 1.218 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.6631, allocations: 23.83 kB / 1.218 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.6631, allocations: 16 kB / 1.219 GB, free: 2.957 MB / 0.9356 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.0001481/0.6633, allocations: 161.8 kB / 1.219 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.6633, allocations: 31.62 kB / 1.219 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005993/0.6639, allocations: 388.5 kB / 1.219 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6639, allocations: 7.984 kB / 1.219 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6639, allocations: 4 kB / 1.219 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.664, allocations: 0 / 1.219 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.6642, allocations: 341.3 kB / 1.219 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6642, allocations: 0 / 1.219 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.6644, allocations: 63.84 kB / 1.219 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.6644, allocations: 48 / 1.219 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.6644, allocations: 19.92 kB / 1.219 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6644, allocations: 0 / 1.219 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.6644, allocations: 0 / 1.219 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.6649, allocations: 334.1 kB / 1.22 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.665, allocations: 140.7 kB / 1.22 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.665, allocations: 15.94 kB / 1.22 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.6652, allocations: 19.97 kB / 1.22 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.6653, allocations: 23.97 kB / 1.22 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.6653, allocations: 19.92 kB / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001831/0.6655, allocations: 244.4 kB / 1.22 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6655, allocations: 4 kB / 1.22 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002824/0.6658, allocations: 63.94 kB / 1.22 GB, free: 1.012 MB / 0.9356 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.0008434/0.6666, allocations: 397.9 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.667, allocations: 235.5 kB / 1.221 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.667, allocations: 3.938 kB / 1.221 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.6672, allocations: 131.9 kB / 1.221 GB, free: 408 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.6675, allocations: 51.83 kB / 1.221 GB, free: 364 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008057/0.6684, allocations: 0.5542 MB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.6687, allocations: 0.7697 MB / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.6688, allocations: 51.36 kB / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.6688, allocations: 0 / 1.222 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of Templates: time 0.007267/0.6761, allocations: 4.502 MB / 1.227 GB, free: 10.44 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches