Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001411/0.001411, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00169/0.00169, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.8685 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6901, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003325/0.6935, allocations: 1.933 MB / 1.018 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.6957, allocations: 1.549 MB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.6958, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.696, allocations: 31.84 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.6963, allocations: 71.67 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.6966, allocations: 147.9 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.6969, allocations: 261.4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.697, allocations: 35.08 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.6972, allocations: 87.75 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.6974, allocations: 105.3 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.6974, allocations: 12 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.6976, allocations: 75.97 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.6977, allocations: 79.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.6978, allocations: 111.3 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003575/0.6982, allocations: 311 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.6982, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6982, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.6982, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 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.0008071/0.699, allocations: 0.5462 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6991, allocations: 8.031 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.6993, allocations: 44.55 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.6996, allocations: 270.7 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.6996, allocations: 16.38 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.6996, allocations: 20.12 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.7001, allocations: 248.8 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.7001, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.7001, allocations: 11.94 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.7001, allocations: 4 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.7011, allocations: 0.749 MB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.7021, allocations: 0.6331 MB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.7026, allocations: 302.5 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.7028, allocations: 113.4 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.7028, allocations: 24.17 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/0.7032, allocations: 183.5 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=35): time 1.733e-06/0.7032, allocations: 0 / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.0006713/0.7039, allocations: 385.9 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.704, allocations: 132.5 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.7042, allocations: 309 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.7043, allocations: 33.7 kB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.7044, allocations: 140.5 kB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.7045, allocations: 118.3 kB / 1.025 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.7046, allocations: 61.69 kB / 1.025 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7047, allocations: 338.8 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.7049, allocations: 79.95 kB / 1.026 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.7051, allocations: 131.2 kB / 1.026 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.7055, allocations: 214.3 kB / 1.026 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7055, allocations: 4 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004451/0.7059, allocations: 277.2 kB / 1.026 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7059, allocations: 8 kB / 1.026 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.706, allocations: 7.875 kB / 1.026 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.706, allocations: 4 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.7062, allocations: 59.97 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.7062, allocations: 4 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.7064, allocations: 31.67 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.7064, allocations: 8 kB / 1.027 GB, free: 8.234 MB / 0.7794 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.0001589/0.7066, allocations: 161.8 kB / 1.027 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.7066, allocations: 31.7 kB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.7073, allocations: 384.9 kB / 1.027 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.7073, allocations: 4 kB / 1.027 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7073, allocations: 0 / 1.027 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.7073, allocations: 0 / 1.027 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.7077, allocations: 349.2 kB / 1.027 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.7077, allocations: 7.938 kB / 1.027 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.7079, allocations: 63.91 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7079, allocations: 0 / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.7079, allocations: 11.94 kB / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.7079, allocations: 0 / 1.028 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7079, allocations: 4 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.7084, allocations: 325.7 kB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.7085, allocations: 148.6 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.7086, allocations: 7.938 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.7088, allocations: 27.97 kB / 1.028 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.7088, allocations: 23.97 kB / 1.028 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.7089, allocations: 23.98 kB / 1.028 GB, free: 6.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002207/0.7091, allocations: 236.4 kB / 1.028 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7091, allocations: 3.938 kB / 1.028 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003102/0.7094, allocations: 71.84 kB / 1.028 GB, free: 6.285 MB / 0.7794 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.0009694/0.7104, allocations: 400.5 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004121/0.7108, allocations: 231.6 kB / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7108, allocations: 0 / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.7111, allocations: 132.7 kB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.7114, allocations: 36.42 kB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008723/0.7123, allocations: 0.6227 MB / 1.03 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.7126, allocations: 0.7653 MB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003275/0.7129, allocations: 150.8 kB / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.272e-05/0.713, allocations: 39.42 kB / 1.031 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.713, allocations: 3.938 kB / 1.031 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of Templates: time 0.006633/0.7197, allocations: 3.284 MB / 1.034 GB, free: 0.7695 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches