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) 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.1.0-maint.11.x/package.mo", uses=false) 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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_11_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_11_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.008171/0.008171, allocations: 97.44 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.00164/0.00164, allocations: 195.8 kB / 16.67 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.779/2.779, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3357, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003461/0.3392, allocations: 1.869 MB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002323/0.3415, allocations: 1.596 MB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.3416, allocations: 4 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.3418, allocations: 27.72 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.3421, allocations: 75.55 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.3426, allocations: 182.8 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000335/0.3429, allocations: 277.4 kB / 1.225 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.343, allocations: 33.08 kB / 1.225 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3431, allocations: 95.75 kB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3434, allocations: 107.6 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.3434, allocations: 20 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.3435, allocations: 79.97 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.609e-05/0.3436, allocations: 87.8 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.3438, allocations: 127.2 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.3442, allocations: 330.6 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3442, allocations: 3.938 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3442, allocations: 0 / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3442, allocations: 0 / 1.225 GB, free: 8.922 MB / 0.9825 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.0008244/0.345, allocations: 0.5768 MB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.345, allocations: 12.03 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001762/0.3452, allocations: 36.73 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.3456, allocations: 278.9 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3456, allocations: 12.38 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.3456, allocations: 20.12 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/0.346, allocations: 244.8 kB / 1.227 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.346, allocations: 4 kB / 1.227 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.346, allocations: 4 kB / 1.227 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.346, allocations: 4 kB / 1.227 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009369/0.347, allocations: 0.7451 MB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.348, allocations: 0.6371 MB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.3485, allocations: 290.4 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.3486, allocations: 97.38 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.449e-05/0.3487, allocations: 24.25 kB / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.349, allocations: 184.2 kB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.472e-06/0.349, allocations: 0 / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0007556/0.3498, allocations: 388.9 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.3498, allocations: 132.5 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.3501, allocations: 305 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.3501, allocations: 37.7 kB / 1.229 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.3502, allocations: 132.7 kB / 1.229 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.27e-05/0.3503, allocations: 123 kB / 1.23 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3504, allocations: 69.69 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3505, allocations: 342.7 kB / 1.23 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3507, allocations: 79.95 kB / 1.23 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3508, allocations: 127.4 kB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.3512, allocations: 214.3 kB / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3512, allocations: 0 / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004247/0.3516, allocations: 285.3 kB / 1.231 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3516, allocations: 4 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.3516, allocations: 7.922 kB / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3516, allocations: 0 / 1.231 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.3519, allocations: 67.91 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3519, allocations: 3.938 kB / 1.231 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.352, allocations: 27.83 kB / 1.231 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.352, allocations: 12 kB / 1.231 GB, free: 3.191 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.0001491/0.3522, allocations: 161.8 kB / 1.231 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.3523, allocations: 31.86 kB / 1.231 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006451/0.3529, allocations: 400.6 kB / 1.231 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3529, allocations: 7.984 kB / 1.231 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3529, allocations: 0 / 1.231 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.3529, allocations: 0 / 1.231 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.3533, allocations: 341.3 kB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3533, allocations: 0 / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.3534, allocations: 59.91 kB / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3534, allocations: 0 / 1.232 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.3535, allocations: 11.94 kB / 1.232 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3535, allocations: 4 kB / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3535, allocations: 0 / 1.232 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.3539, allocations: 325.8 kB / 1.232 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3541, allocations: 144.9 kB / 1.232 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.3541, allocations: 11.92 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.3543, allocations: 27.97 kB / 1.232 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.3544, allocations: 23.91 kB / 1.232 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/0.3544, allocations: 19.98 kB / 1.232 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002112/0.3546, allocations: 240.4 kB / 1.232 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3546, allocations: 0 / 1.232 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003083/0.3549, allocations: 71.89 kB / 1.233 GB, free: 1.242 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.001003/0.3559, allocations: 408.7 kB / 1.233 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004284/0.3563, allocations: 232 kB / 1.233 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3564, allocations: 0 / 1.233 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.3566, allocations: 119.8 kB / 1.233 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.3569, allocations: 38.67 kB / 1.233 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.3578, allocations: 0.5287 MB / 1.234 GB, free: 48 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.3581, allocations: 0.7736 MB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003282/0.3584, allocations: 142.9 kB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.399e-05/0.3585, allocations: 43.42 kB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/0.3585, allocations: 0 / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of Templates: time 0.00732/0.3659, allocations: 3.464 MB / 1.238 GB, free: 11.64 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (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 & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches