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.008929/0.008929, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001229/0.001229, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.894/2.894, allocations: 461.9 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3599, allocations: 157.4 MB / 1.208 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004473/0.3644, allocations: 1.859 MB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002973/0.3675, allocations: 1.588 MB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.3676, allocations: 4 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.3679, allocations: 27.77 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.3685, allocations: 79.56 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.3691, allocations: 169.9 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000418/0.3695, allocations: 277.4 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3697, allocations: 41.06 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.3699, allocations: 95.77 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.3702, allocations: 111.6 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.3703, allocations: 20 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.3705, allocations: 83.97 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.3707, allocations: 79.81 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.3708, allocations: 127.2 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.3713, allocations: 330.9 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3713, allocations: 0 / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3713, allocations: 0 / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3714, allocations: 0 / 1.212 GB, free: 4.75 MB / 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.0009601/0.3723, allocations: 0.5656 MB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3724, allocations: 12.62 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.3726, allocations: 28.66 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.3729, allocations: 278.7 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.373, allocations: 16.38 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.373, allocations: 16.12 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003988/0.3734, allocations: 240.9 kB / 1.214 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3734, allocations: 0 / 1.214 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.3734, allocations: 12 kB / 1.214 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3735, allocations: 4 kB / 1.214 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000852/0.3743, allocations: 0.749 MB / 1.214 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.3754, allocations: 0.6369 MB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.3759, allocations: 310 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3761, allocations: 109.3 kB / 1.215 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.233e-05/0.3761, allocations: 24.19 kB / 1.215 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.3765, allocations: 183.9 kB / 1.216 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=35): time 2.364e-06/0.3765, allocations: 0 / 1.216 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.0006874/0.3772, allocations: 376.9 kB / 1.216 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.3773, allocations: 136.5 kB / 1.216 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.3776, allocations: 309 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.3776, allocations: 33.7 kB / 1.216 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.3777, allocations: 136.5 kB / 1.217 GB, free: 388 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.3778, allocations: 118.3 kB / 1.217 GB, free: 268 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.378, allocations: 69.67 kB / 1.217 GB, free: 192 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3781, allocations: 338.8 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.3783, allocations: 83.95 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.3785, allocations: 120.6 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.3788, allocations: 217.1 kB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3788, allocations: 0 / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000466/0.3793, allocations: 281 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3793, allocations: 8 kB / 1.218 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3793, allocations: 7.875 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.3793, allocations: 0 / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.3796, allocations: 59.97 kB / 1.218 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3796, allocations: 4 kB / 1.218 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001419/0.3797, allocations: 27.77 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.3798, allocations: 15.98 kB / 1.218 GB, free: 15.02 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.0001587/0.3799, allocations: 157.8 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.38, allocations: 35.61 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000653/0.3806, allocations: 392.5 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3807, allocations: 4 kB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3807, allocations: 0 / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3807, allocations: 3.984 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.381, allocations: 341.2 kB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3811, allocations: 4 kB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.3812, allocations: 67.91 kB / 1.219 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.3812, allocations: 0 / 1.219 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.3813, allocations: 15.92 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3813, allocations: 4 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3813, allocations: 0 / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004816/0.3818, allocations: 318.2 kB / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.3819, allocations: 152.6 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.041e-05/0.382, allocations: 11.94 kB / 1.219 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.3821, allocations: 19.98 kB / 1.219 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/0.3822, allocations: 31.89 kB / 1.219 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.3823, allocations: 12 kB / 1.219 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002278/0.3825, allocations: 236.4 kB / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.91e-07/0.3825, allocations: 0 / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003292/0.3829, allocations: 68 kB / 1.22 GB, free: 13.08 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.001019/0.3839, allocations: 408.9 kB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.3843, allocations: 239.7 kB / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3843, allocations: 4 kB / 1.22 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.3845, allocations: 127.8 kB / 1.22 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.3849, allocations: 49.83 kB / 1.22 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.3858, allocations: 0.5252 MB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.3861, allocations: 0.7657 MB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003406/0.3865, allocations: 142.9 kB / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.214e-05/0.3866, allocations: 43.41 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3866, allocations: 0 / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of Templates: time 0.007906/0.3945, allocations: 3.444 MB / 1.225 GB, free: 7.48 MB / 0.9825 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/jenkins/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