Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007283/0.007283, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001498/0.001498, allocations: 199.3 kB / 16.68 MB, free: 5.961 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.553/1.553, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.452/2.452, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.89 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9584/0.9597, allocations: 140.4 MB / 1.088 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003905/0.9637, allocations: 1.873 MB / 1.09 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.966, allocations: 1.588 MB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.9661, allocations: 1.188 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.9664, allocations: 25.41 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.9667, allocations: 81.47 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.9672, allocations: 171.1 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.9676, allocations: 286.6 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.9677, allocations: 38.92 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.9679, allocations: 92.23 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.9682, allocations: 108.1 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.9682, allocations: 20.12 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.9684, allocations: 86.47 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.9686, allocations: 91.31 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.9687, allocations: 115.7 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.9692, allocations: 330.8 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9692, allocations: 4.688 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.865e-06/0.9692, allocations: 0 / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.264e-05/0.9692, allocations: 0.6875 kB / 1.093 GB, free: 2.406 MB / 0.8575 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.0008246/0.9701, allocations: 0.5542 MB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.9701, allocations: 9.688 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.9703, allocations: 34.44 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.9706, allocations: 277.6 kB / 1.094 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.9707, allocations: 11.59 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.9707, allocations: 31.97 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.9712, allocations: 233 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.9712, allocations: 0 / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.9712, allocations: 10.75 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.9713, allocations: 4.672 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.9726, allocations: 0.7449 MB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.9738, allocations: 0.6366 MB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.9744, allocations: 310.1 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.9746, allocations: 109.4 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.019e-05/0.9746, allocations: 20.64 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.9751, allocations: 182.1 kB / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.9751, allocations: 0 / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0008263/0.9759, allocations: 382 kB / 1.096 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.976, allocations: 134.1 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.9763, allocations: 309.4 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.9764, allocations: 32.2 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/0.9765, allocations: 133.8 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/0.9766, allocations: 122.4 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.9767, allocations: 70.47 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.9769, allocations: 342.8 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.977, allocations: 81.89 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.9773, allocations: 129.9 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.9777, allocations: 210 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9777, allocations: 0 / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005191/0.9782, allocations: 292.3 kB / 1.098 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.9782, allocations: 11.62 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.9782, allocations: 4.609 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.9783, allocations: 6.641 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.9785, allocations: 60.58 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.9785, allocations: 5.469 kB / 1.098 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.9787, allocations: 23.5 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.9787, allocations: 14.92 kB / 1.098 GB, free: 15.32 MB / 0.8731 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.0001987/0.9789, allocations: 166.7 kB / 1.098 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.979, allocations: 29.75 kB / 1.098 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007974/0.9798, allocations: 382.2 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.9798, allocations: 7.938 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.9798, allocations: 1.062 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.9798, allocations: 1.922 kB / 1.099 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.9803, allocations: 339.7 kB / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.9803, allocations: 0 / 1.099 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.9805, allocations: 62.27 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.9805, allocations: 1.281 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.9805, allocations: 14.38 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.9805, allocations: 2.062 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9805, allocations: 0.8438 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.9811, allocations: 334.7 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.9813, allocations: 147.4 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.9814, allocations: 9.688 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.9816, allocations: 25.86 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.9817, allocations: 25.06 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.9817, allocations: 12.56 kB / 1.1 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000271/0.982, allocations: 244.7 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.204e-06/0.982, allocations: 0.9062 kB / 1.1 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003565/0.9823, allocations: 74.27 kB / 1.1 GB, free: 14.27 MB / 0.8731 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.001072/0.9834, allocations: 396.5 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005253/0.984, allocations: 231.2 kB / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.984, allocations: 0 / 1.1 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.9842, allocations: 131 kB / 1.101 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.9846, allocations: 46.05 kB / 1.101 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.9858, allocations: 0.5098 MB / 1.101 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.9863, allocations: 0.7657 MB / 1.102 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003753/0.9866, allocations: 147.5 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.228e-05/0.9867, allocations: 45.94 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of SimCode: time 1.663e-06/0.9868, allocations: 0 / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.009223/0.996, allocations: 3.49 MB / 1.105 GB, free: 12.55 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches