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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001766/0.001766, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001878/0.001878, allocations: 187 kB / 16.25 MB, free: 6.633 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.641/1.641, allocations: 222.9 MB / 239.9 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.148/3.148, allocations: 482.3 MB / 0.7542 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.91 kB / 0.9232 GB, free: 29.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3338, allocations: 162.2 MB / 1.082 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003571/0.3374, allocations: 1.927 MB / 1.084 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00231/0.3397, allocations: 1.545 MB / 1.085 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.3398, allocations: 4 kB / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.3401, allocations: 27.84 kB / 1.085 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002689/0.3403, allocations: 63.75 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.3408, allocations: 160.6 kB / 1.085 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.3412, allocations: 273.4 kB / 1.086 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3413, allocations: 33.39 kB / 1.086 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3414, allocations: 95.75 kB / 1.086 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.3417, allocations: 111.6 kB / 1.086 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.3417, allocations: 20 kB / 1.086 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.3419, allocations: 87.95 kB / 1.086 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.342, allocations: 91.73 kB / 1.086 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.3421, allocations: 119.3 kB / 1.086 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.3425, allocations: 311 kB / 1.086 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3426, allocations: 3.938 kB / 1.086 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3426, allocations: 4 kB / 1.086 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3426, allocations: 0 / 1.086 GB, free: 8.867 MB / 0.8419 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.0008176/0.3434, allocations: 0.5654 MB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3434, allocations: 8.031 kB / 1.087 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3436, allocations: 28.66 kB / 1.087 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.3439, allocations: 274.7 kB / 1.087 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3439, allocations: 16.38 kB / 1.087 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.344, allocations: 20.12 kB / 1.087 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.3444, allocations: 248.9 kB / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3444, allocations: 0 / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.3444, allocations: 12 kB / 1.087 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.3445, allocations: 4 kB / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009997/0.3455, allocations: 0.7529 MB / 1.088 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.3466, allocations: 0.6369 MB / 1.089 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.3471, allocations: 314.4 kB / 1.089 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3473, allocations: 109.4 kB / 1.089 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.3473, allocations: 20.25 kB / 1.089 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003461/0.3477, allocations: 187.4 kB / 1.089 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.3477, allocations: 0 / 1.089 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35): time 0.0007442/0.3485, allocations: 371.2 kB / 1.09 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.3486, allocations: 136.5 kB / 1.09 GB, free: 4.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.3489, allocations: 309 kB / 1.09 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.349, allocations: 29.7 kB / 1.09 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.3491, allocations: 140.6 kB / 1.09 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3492, allocations: 122.3 kB / 1.091 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3493, allocations: 65.55 kB / 1.091 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3495, allocations: 338.8 kB / 1.091 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.3497, allocations: 79.95 kB / 1.091 GB, free: 3.887 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.3499, allocations: 131.5 kB / 1.091 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.3502, allocations: 216.6 kB / 1.091 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3503, allocations: 0 / 1.091 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005384/0.3508, allocations: 277.6 kB / 1.092 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3508, allocations: 8 kB / 1.092 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3508, allocations: 3.938 kB / 1.092 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3509, allocations: 3.938 kB / 1.092 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.3512, allocations: 59.91 kB / 1.092 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3512, allocations: 4 kB / 1.092 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.3514, allocations: 27.83 kB / 1.092 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.3514, allocations: 11.98 kB / 1.092 GB, free: 3.137 MB / 0.8419 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.000191/0.3516, allocations: 169.7 kB / 1.092 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.3517, allocations: 31.56 kB / 1.092 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007374/0.3524, allocations: 392.5 kB / 1.092 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.3524, allocations: 4 kB / 1.092 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3524, allocations: 0 / 1.092 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3524, allocations: 3.984 kB / 1.092 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.3529, allocations: 349.2 kB / 1.093 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3529, allocations: 0 / 1.093 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.3531, allocations: 59.91 kB / 1.093 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.3531, allocations: 4 kB / 1.093 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.3531, allocations: 15.92 kB / 1.093 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3531, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3531, allocations: 0 / 1.093 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/0.3538, allocations: 330.1 kB / 1.093 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.3539, allocations: 144.7 kB / 1.093 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.354, allocations: 11.94 kB / 1.093 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.3542, allocations: 24.02 kB / 1.093 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.3543, allocations: 27.95 kB / 1.093 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.3543, allocations: 12 kB / 1.093 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003004/0.3546, allocations: 236.4 kB / 1.093 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3546, allocations: 0 / 1.093 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003249/0.3549, allocations: 67.98 kB / 1.093 GB, free: 1.191 MB / 0.8419 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.001503/0.3565, allocations: 410 kB / 1.094 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007475/0.3572, allocations: 299.6 kB / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3572, allocations: 0 / 1.094 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.3574, allocations: 135.7 kB / 1.094 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.3578, allocations: 42.39 kB / 1.094 GB, free: 472 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.3589, allocations: 0.6206 MB / 1.095 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/0.3596, allocations: 0.7737 MB / 1.096 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00036/0.3599, allocations: 158.8 kB / 1.096 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.245e-05/0.36, allocations: 39.42 kB / 1.096 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3601, allocations: 0 / 1.096 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of Templates: time 0.008197/0.3683, allocations: 3.379 MB / 1.099 GB, free: 11.48 MB / 0.8575 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