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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 179.3 kB / 498.1 MB, free: 5.758 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.68/1.68, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009338/0.0009337, allocations: 108.2 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.000478, allocations: 15.88 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3565, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2109/0.5675, allocations: 154 MB / 1.373 GB, free: 8.07 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5678, allocations: 95.92 kB / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03258/0.6004, allocations: 9.174 MB / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.926e-06/0.6005, allocations: 0 / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.745e-05/0.6005, allocations: 4 kB / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001292/0.6018, allocations: 0.534 MB / 1.383 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.6019, allocations: 8.031 kB / 1.383 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.6022, allocations: 35.64 kB / 1.383 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.6028, allocations: 273.6 kB / 1.383 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.6029, allocations: 12 kB / 1.383 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.6029, allocations: 19.94 kB / 1.383 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007008/0.6036, allocations: 232.8 kB / 1.383 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.6037, allocations: 3.938 kB / 1.383 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.6037, allocations: 8 kB / 1.383 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.6037, allocations: 4 kB / 1.383 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.6052, allocations: 0.7449 MB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.6066, allocations: 0.6097 MB / 1.385 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.6074, allocations: 305.9 kB / 1.385 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-05/0.6075, allocations: 20.23 kB / 1.385 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004499/0.6079, allocations: 179.4 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=35): time 2.986e-06/0.6079, allocations: 4 kB / 1.385 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35): time 0.001036/0.609, allocations: 376.9 kB / 1.386 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.6091, allocations: 132.5 kB / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.6096, allocations: 268.1 kB / 1.386 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.6097, allocations: 33.7 kB / 1.386 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.6098, allocations: 128.7 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.61, allocations: 114.3 kB / 1.386 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.61, allocations: 8 kB / 1.386 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.6102, allocations: 334.8 kB / 1.387 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.6104, allocations: 87.81 kB / 1.387 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.6107, allocations: 123.4 kB / 1.387 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.611, allocations: 101.7 kB / 1.387 GB, free: 9.871 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.611, allocations: 3.938 kB / 1.387 GB, free: 9.867 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006931/0.6117, allocations: 288.8 kB / 1.387 GB, free: 9.578 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.6117, allocations: 4 kB / 1.387 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6117, allocations: 0 / 1.387 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.6118, allocations: 11.95 kB / 1.387 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.6121, allocations: 63.91 kB / 1.387 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.6121, allocations: 0 / 1.387 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.6124, allocations: 27.83 kB / 1.387 GB, free: 9.473 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.6124, allocations: 8 kB / 1.387 GB, free: 9.465 MB / 0.8855 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.6127, allocations: 165.7 kB / 1.387 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.6128, allocations: 27.72 kB / 1.387 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.6138, allocations: 388.5 kB / 1.388 GB, free: 8.883 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.6138, allocations: 7.953 kB / 1.388 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6139, allocations: 0 / 1.388 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.6139, allocations: 0 / 1.388 GB, free: 8.875 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.6144, allocations: 361.2 kB / 1.388 GB, free: 8.473 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.6144, allocations: 3.938 kB / 1.388 GB, free: 8.469 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.6147, allocations: 63.91 kB / 1.388 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.6147, allocations: 0 / 1.388 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.6148, allocations: 12 kB / 1.388 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6148, allocations: 4 kB / 1.388 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6148, allocations: 3.953 kB / 1.388 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007578/0.6156, allocations: 337.9 kB / 1.389 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.6159, allocations: 152.7 kB / 1.389 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.6159, allocations: 4 kB / 1.389 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.6162, allocations: 31.98 kB / 1.389 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.063e-05/0.6163, allocations: 31.98 kB / 1.389 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.6164, allocations: 15.95 kB / 1.389 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003508/0.6167, allocations: 228.4 kB / 1.389 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6167, allocations: 0 / 1.389 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005588/0.6173, allocations: 76 kB / 1.389 GB, free: 7.492 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/0.6188, allocations: 402.7 kB / 1.389 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006245/0.6194, allocations: 227.7 kB / 1.39 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6194, allocations: 0 / 1.39 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.6197, allocations: 135.8 kB / 1.39 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.6201, allocations: 28.42 kB / 1.39 GB, free: 6.855 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.6215, allocations: 0.5956 MB / 1.39 GB, free: 6.238 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.622, allocations: 0.7785 MB / 1.391 GB, free: 5.434 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005517/0.6226, allocations: 146.8 kB / 1.391 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.6227, allocations: 47.41 kB / 1.391 GB, free: 5.242 MB / 0.8855 GB Notification: Performance of SimCode: time 3.5e-07/0.6227, allocations: 4 kB / 1.391 GB, free: 5.238 MB / 0.8855 GB Notification: Performance of Templates: time 0.01109/0.6338, allocations: 3.339 MB / 1.395 GB, free: 1.934 MB / 0.8855 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","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches