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.0007968/0.0007971, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.0009829/0.000983, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.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.729/2.729, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003698, allocations: 13.03 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3043, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002094/0.3064, allocations: 1.597 MB / 1.06 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00211/0.3086, allocations: 1.526 MB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.3087, allocations: 0 / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.3089, allocations: 23.91 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.3091, allocations: 63.69 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.3095, allocations: 146.5 kB / 1.062 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.3098, allocations: 269.3 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.31, allocations: 25.39 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.3101, allocations: 83.75 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.3103, allocations: 99.7 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.3103, allocations: 8 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.3105, allocations: 79.91 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.3106, allocations: 75.8 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.3107, allocations: 137 kB / 1.063 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003362/0.3111, allocations: 299 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3111, allocations: 0 / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3111, allocations: 0 / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3111, allocations: 0 / 1.063 GB, free: 1.062 MB / 0.8106 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.0006885/0.3118, allocations: 0.5034 MB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.3119, allocations: 12.03 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.312, allocations: 40.55 kB / 1.064 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.3123, allocations: 278.7 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3123, allocations: 12.38 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.3124, allocations: 28.05 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.3128, allocations: 228.9 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3128, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.3128, allocations: 11.98 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3128, allocations: 8 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008493/0.3137, allocations: 0.7529 MB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.3147, allocations: 0.6499 MB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.3152, allocations: 309.9 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.3154, allocations: 105.4 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.748e-05/0.3154, allocations: 24.25 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.3158, allocations: 188.4 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=35): time 1.883e-06/0.3158, allocations: 0 / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35): time 0.0006218/0.3164, allocations: 381 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.3165, allocations: 132.5 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.3168, allocations: 308.9 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.3168, allocations: 37.7 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.3169, allocations: 124.7 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.942e-05/0.317, allocations: 126.3 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.274e-05/0.3171, allocations: 29.7 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.3172, allocations: 338.8 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.3173, allocations: 83.81 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3175, allocations: 128.6 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.3178, allocations: 217.1 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3179, allocations: 0 / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000428/0.3183, allocations: 285 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3183, allocations: 5.875 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3183, allocations: 3.938 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3183, allocations: 4 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.3186, allocations: 59.91 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.3186, allocations: 0 / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.3187, allocations: 35.83 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3188, allocations: 11.98 kB / 1.068 GB, free: 11.4 MB / 0.8262 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.0001556/0.3189, allocations: 165.8 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.319, allocations: 27.72 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006697/0.3197, allocations: 396.5 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3197, allocations: 4 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3197, allocations: 0 / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3197, allocations: 3.984 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/0.32, allocations: 341.2 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3201, allocations: 4 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.3202, allocations: 63.91 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3203, allocations: 0 / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.3203, allocations: 15.92 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3203, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3203, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.3208, allocations: 321.7 kB / 1.07 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3209, allocations: 152.6 kB / 1.07 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.321, allocations: 7.938 kB / 1.07 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3212, allocations: 42.81 kB / 1.07 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.3212, allocations: 19.97 kB / 1.07 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.3213, allocations: 15.98 kB / 1.07 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002144/0.3215, allocations: 240.4 kB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3215, allocations: 0 / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003069/0.3218, allocations: 60 kB / 1.07 GB, free: 9.449 MB / 0.8262 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.0009886/0.3228, allocations: 404.8 kB / 1.07 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000396/0.3232, allocations: 228.1 kB / 1.071 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3232, allocations: 4 kB / 1.071 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.3234, allocations: 131.7 kB / 1.071 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.3237, allocations: 46.94 kB / 1.071 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008446/0.3246, allocations: 0.6124 MB / 1.071 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.3249, allocations: 0.7731 MB / 1.072 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003467/0.3253, allocations: 146.8 kB / 1.072 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.838e-05/0.3254, allocations: 39.42 kB / 1.072 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3254, allocations: 0 / 1.072 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of Templates: time 0.007568/0.333, allocations: 3.26 MB / 1.076 GB, free: 3.953 MB / 0.8262 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