Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_10_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_10_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.001197/0.001197, allocations: 111 kB / 16.41 MB, free: 6.461 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.00116/0.00116, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.182/2.182, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 59.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6582/0.6593, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002606/0.6619, allocations: 1.875 MB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001882/0.6638, allocations: 1.588 MB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.6639, allocations: 0 / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.6641, allocations: 27.78 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.6644, allocations: 79.55 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.6647, allocations: 171.9 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.665, allocations: 285.4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.794e-05/0.6651, allocations: 25.11 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.6652, allocations: 95.75 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.6654, allocations: 111.7 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.6655, allocations: 20 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.6656, allocations: 87.97 kB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.6657, allocations: 91.73 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.6658, allocations: 115.3 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.6662, allocations: 339 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6662, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6662, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6662, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 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.0006714/0.6669, allocations: 0.5652 MB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.6669, allocations: 8.922 kB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.667, allocations: 36.75 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.6673, allocations: 278.8 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.6673, allocations: 16.38 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.6674, allocations: 20.12 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.6677, allocations: 240.8 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6677, allocations: 0 / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.6677, allocations: 8 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6678, allocations: 11.94 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007966/0.6686, allocations: 0.749 MB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.6694, allocations: 0.6371 MB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.6699, allocations: 302 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.67, allocations: 113.4 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.139e-05/0.6701, allocations: 20.25 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.6704, allocations: 184.5 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.6704, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35): time 0.0005936/0.671, allocations: 377.5 kB / 1.176 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.6711, allocations: 136.5 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.6713, allocations: 316.9 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.6713, allocations: 37.69 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.059e-05/0.6714, allocations: 132.7 kB / 1.176 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.6715, allocations: 119 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.6716, allocations: 69.62 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.6717, allocations: 342.8 kB / 1.177 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.6718, allocations: 83.95 kB / 1.177 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.672, allocations: 119.4 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.6723, allocations: 226.3 kB / 1.177 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6723, allocations: 0 / 1.177 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003987/0.6727, allocations: 285.1 kB / 1.177 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.6727, allocations: 4 kB / 1.177 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6727, allocations: 3.938 kB / 1.177 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6728, allocations: 4 kB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.673, allocations: 59.91 kB / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.673, allocations: 0 / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.6731, allocations: 27.81 kB / 1.177 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.6732, allocations: 23.98 kB / 1.177 GB, free: 9.188 MB / 0.9044 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.000131/0.6733, allocations: 161.8 kB / 1.178 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.6733, allocations: 27.81 kB / 1.178 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006093/0.674, allocations: 388.8 kB / 1.178 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.674, allocations: 4 kB / 1.178 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.674, allocations: 0 / 1.178 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.674, allocations: 7.984 kB / 1.178 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.6743, allocations: 337.3 kB / 1.178 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6743, allocations: 4 kB / 1.178 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.6744, allocations: 63.84 kB / 1.178 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.6745, allocations: 4 kB / 1.178 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.6745, allocations: 19.92 kB / 1.178 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6745, allocations: 0 / 1.178 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.6745, allocations: 0 / 1.178 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.6749, allocations: 325.8 kB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.675, allocations: 140.8 kB / 1.179 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.6751, allocations: 15.94 kB / 1.179 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.6753, allocations: 27.91 kB / 1.179 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.6753, allocations: 31.83 kB / 1.179 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.6753, allocations: 8 kB / 1.179 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000173/0.6755, allocations: 240.4 kB / 1.179 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6755, allocations: 0 / 1.179 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002662/0.6758, allocations: 71.88 kB / 1.179 GB, free: 7.234 MB / 0.9044 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.0008278/0.6766, allocations: 405.9 kB / 1.18 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.677, allocations: 232.3 kB / 1.18 GB, free: 6.754 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.677, allocations: 7.938 kB / 1.18 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.6772, allocations: 132.3 kB / 1.18 GB, free: 6.617 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.6775, allocations: 41.53 kB / 1.18 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000738/0.6782, allocations: 0.5661 MB / 1.181 GB, free: 5.98 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.6785, allocations: 0.7614 MB / 1.181 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.6786, allocations: 55.41 kB / 1.181 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of SimCode: time 3.9e-07/0.6786, allocations: 0 / 1.181 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of Templates: time 0.00573/0.6843, allocations: 4.511 MB / 1.186 GB, free: 0.6406 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches