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.004886/0.004886, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001147/0.001148, allocations: 196 kB / 16.67 MB, free: 6.352 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.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.612/2.612, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.53 kB / 0.9509 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3383, allocations: 140.4 MB / 1.088 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003904/0.3423, allocations: 1.869 MB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002465/0.3448, allocations: 1.585 MB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.3449, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.3452, allocations: 27.8 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.3455, allocations: 83.53 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.346, allocations: 163.1 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.3464, allocations: 289.4 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.3465, allocations: 36.8 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.3467, allocations: 99.69 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.347, allocations: 115.7 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.3471, allocations: 20 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.3472, allocations: 79.97 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3474, allocations: 87.8 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.3475, allocations: 119.3 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.348, allocations: 338.6 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.348, allocations: 0 / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.635e-06/0.348, allocations: 4 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.348, allocations: 0 / 1.093 GB, free: 12.68 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.0009121/0.349, allocations: 0.5651 MB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.349, allocations: 8.031 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.3492, allocations: 36.73 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.3495, allocations: 274.9 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.3496, allocations: 12.38 kB / 1.094 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.3496, allocations: 24.12 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.35, allocations: 240.9 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.35, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.3501, allocations: 8 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.3501, allocations: 8 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.3509, allocations: 0.7412 MB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.352, allocations: 0.6448 MB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.3525, allocations: 306.4 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.3527, allocations: 113.4 kB / 1.096 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.3527, allocations: 20.25 kB / 1.096 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003741/0.3531, allocations: 175.5 kB / 1.096 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.3531, allocations: 4 kB / 1.096 GB, free: 9.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=35): time 0.0006803/0.3538, allocations: 382.2 kB / 1.096 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.346e-05/0.3539, allocations: 132.5 kB / 1.096 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.3542, allocations: 313 kB / 1.097 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.3542, allocations: 29.7 kB / 1.097 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3544, allocations: 132.7 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.3545, allocations: 126.8 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.243e-05/0.3546, allocations: 65.69 kB / 1.097 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3548, allocations: 342.8 kB / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3549, allocations: 83.95 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.3552, allocations: 132.3 kB / 1.097 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.3557, allocations: 208.7 kB / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3557, allocations: 0 / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004414/0.3561, allocations: 285.8 kB / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3562, allocations: 7.938 kB / 1.098 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3562, allocations: 7.938 kB / 1.098 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3562, allocations: 7.984 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.3564, allocations: 59.95 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3564, allocations: 0 / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.3566, allocations: 27.83 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.3566, allocations: 23.94 kB / 1.098 GB, free: 6.938 MB / 0.8575 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.000165/0.3568, allocations: 161.8 kB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.663e-05/0.3569, allocations: 31.8 kB / 1.098 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006472/0.3575, allocations: 384.7 kB / 1.099 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.3575, allocations: 4 kB / 1.099 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3575, allocations: 4 kB / 1.099 GB, free: 6.344 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3576, allocations: 4 kB / 1.099 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.3579, allocations: 337.3 kB / 1.099 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3579, allocations: 4 kB / 1.099 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.3581, allocations: 59.91 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3581, allocations: 4 kB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3581, allocations: 11.94 kB / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3581, allocations: 0 / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3581, allocations: 0 / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.3586, allocations: 338.1 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3588, allocations: 148.7 kB / 1.099 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3588, allocations: 15.88 kB / 1.099 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.359, allocations: 27.91 kB / 1.1 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.3591, allocations: 23.97 kB / 1.1 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.3592, allocations: 11.98 kB / 1.1 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002049/0.3594, allocations: 240.4 kB / 1.1 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3594, allocations: 0 / 1.1 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002875/0.3597, allocations: 67.94 kB / 1.1 GB, free: 4.984 MB / 0.8575 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.0009594/0.3606, allocations: 404.2 kB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004161/0.3611, allocations: 231.7 kB / 1.1 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3611, allocations: 0 / 1.1 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.3613, allocations: 131.8 kB / 1.101 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.3616, allocations: 39.44 kB / 1.101 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008344/0.3624, allocations: 0.5307 MB / 1.101 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.3628, allocations: 0.758 MB / 1.102 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003052/0.3631, allocations: 142.9 kB / 1.102 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.3632, allocations: 47.42 kB / 1.102 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3632, allocations: 0 / 1.102 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of Templates: time 0.007289/0.3705, allocations: 3.444 MB / 1.105 GB, free: 15.41 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