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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.399/2.399, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001217/0.001217, allocations: 186.8 kB / 0.4902 GB, free: 2.227 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.662/1.662, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.001073/0.001074, allocations: 106.8 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003841, allocations: 10.42 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3403, allocations: 143 MB / 1.229 GB, free: 85.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2252/0.5656, allocations: 154.8 MB / 1.38 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/0.566, allocations: 83.95 kB / 1.38 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02582/0.5918, allocations: 9.181 MB / 1.389 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5919, allocations: 0 / 1.389 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.5919, allocations: 8 kB / 1.389 GB, free: 1.137 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.0009611/0.5929, allocations: 0.534 MB / 1.39 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.5929, allocations: 8.562 kB / 1.39 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.5931, allocations: 27.72 kB / 1.39 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.5936, allocations: 277.5 kB / 1.39 GB, free: 212 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.5937, allocations: 12 kB / 1.39 GB, free: 200 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.891e-05/0.5937, allocations: 24 kB / 1.39 GB, free: 176 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.5942, allocations: 229.5 kB / 1.391 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.5942, allocations: 3.984 kB / 1.391 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.5943, allocations: 7.984 kB / 1.391 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.5943, allocations: 4 kB / 1.391 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.5953, allocations: 0.7449 MB / 1.391 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.5965, allocations: 0.6175 MB / 1.392 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.597, allocations: 298.7 kB / 1.392 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.5971, allocations: 24.25 kB / 1.392 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.5974, allocations: 183.2 kB / 1.392 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.5974, allocations: 0 / 1.392 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35): time 0.0006807/0.5981, allocations: 369.1 kB / 1.393 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.5982, allocations: 144.4 kB / 1.393 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.5986, allocations: 268.1 kB / 1.393 GB, free: 13.17 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.5986, allocations: 29.7 kB / 1.393 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.5988, allocations: 140.6 kB / 1.393 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.5989, allocations: 106.4 kB / 1.393 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/0.5989, allocations: 12 kB / 1.393 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.5992, allocations: 334.8 kB / 1.394 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.5993, allocations: 79.95 kB / 1.394 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.5996, allocations: 132.4 kB / 1.394 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.5998, allocations: 99.97 kB / 1.394 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5998, allocations: 0 / 1.394 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004916/0.6003, allocations: 281 kB / 1.394 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.6003, allocations: 4 kB / 1.394 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6003, allocations: 0 / 1.394 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.6004, allocations: 3.953 kB / 1.394 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.6006, allocations: 67.91 kB / 1.394 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.6007, allocations: 7.984 kB / 1.394 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.6008, allocations: 27.75 kB / 1.394 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.6009, allocations: 11.98 kB / 1.394 GB, free: 11.82 MB / 0.9011 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.0001873/0.6011, allocations: 165.7 kB / 1.395 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.6011, allocations: 27.66 kB / 1.395 GB, free: 11.62 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/0.6018, allocations: 397.2 kB / 1.395 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.6018, allocations: 7.953 kB / 1.395 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6019, allocations: 0 / 1.395 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.6019, allocations: 3.984 kB / 1.395 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.6023, allocations: 353.2 kB / 1.395 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6023, allocations: 0 / 1.395 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.6024, allocations: 59.91 kB / 1.395 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6025, allocations: 0 / 1.395 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.6025, allocations: 8 kB / 1.395 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.6025, allocations: 4 kB / 1.395 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.6025, allocations: 11.94 kB / 1.395 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.603, allocations: 321.5 kB / 1.396 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.6032, allocations: 160.6 kB / 1.396 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.6033, allocations: 4 kB / 1.396 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.6035, allocations: 39.97 kB / 1.396 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.6036, allocations: 19.97 kB / 1.396 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.6036, allocations: 23.88 kB / 1.396 GB, free: 10.15 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002427/0.6038, allocations: 220.4 kB / 1.396 GB, free: 9.934 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6039, allocations: 0 / 1.396 GB, free: 9.934 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003404/0.6042, allocations: 75.94 kB / 1.396 GB, free: 9.859 MB / 0.9011 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.001058/0.6053, allocations: 419.1 kB / 1.397 GB, free: 9.59 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.6057, allocations: 232.1 kB / 1.397 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6057, allocations: 4 kB / 1.397 GB, free: 9.359 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.6059, allocations: 131.8 kB / 1.397 GB, free: 9.23 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.6062, allocations: 32.42 kB / 1.397 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.6072, allocations: 0.6011 MB / 1.398 GB, free: 8.574 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.6077, allocations: 0.7697 MB / 1.398 GB, free: 7.777 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003478/0.6081, allocations: 154.8 kB / 1.398 GB, free: 7.625 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/0.6082, allocations: 43.42 kB / 1.399 GB, free: 7.582 MB / 0.9011 GB Notification: Performance of SimCode: time 5.51e-07/0.6082, allocations: 4 kB / 1.399 GB, free: 7.578 MB / 0.9011 GB Notification: Performance of Templates: time 0.007892/0.6161, allocations: 3.325 MB / 1.402 GB, free: 4.293 MB / 0.9011 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","../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches