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.579/2.579, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001641/0.001641, allocations: 176.5 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 0.7915 GB, free: 5.477 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.001024/0.001024, allocations: 99.59 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.786e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3212, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.361, allocations: 154.8 MB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.362, allocations: 88.5 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02425/1.386, allocations: 8.971 MB / 1.379 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.793e-06/1.386, allocations: 0 / 1.379 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.758e-05/1.386, allocations: 4 kB / 1.379 GB, free: 7.824 MB / 0.8386 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.0006817/1.387, allocations: 499.8 kB / 1.379 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.387, allocations: 12.03 kB / 1.379 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/1.387, allocations: 31.34 kB / 1.379 GB, free: 7.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/1.387, allocations: 273.8 kB / 1.38 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/1.387, allocations: 18.38 kB / 1.38 GB, free: 6.965 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/1.388, allocations: 14.75 kB / 1.38 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/1.388, allocations: 229.7 kB / 1.38 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.388, allocations: 0 / 1.38 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/1.388, allocations: 10.75 kB / 1.38 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.388, allocations: 4 kB / 1.38 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/1.389, allocations: 0.7371 MB / 1.381 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009372/1.39, allocations: 0.614 MB / 1.381 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/1.39, allocations: 303.4 kB / 1.381 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/1.391, allocations: 104.7 kB / 1.382 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.917e-05/1.391, allocations: 23.25 kB / 1.382 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/1.391, allocations: 184.2 kB / 1.382 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=35): time 3.206e-06/1.391, allocations: 3.984 kB / 1.382 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35): time 0.0004985/1.391, allocations: 282.1 kB / 1.382 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/1.392, allocations: 136.5 kB / 1.382 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/1.392, allocations: 262.9 kB / 1.382 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/1.392, allocations: 32.52 kB / 1.382 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/1.392, allocations: 137.9 kB / 1.383 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/1.392, allocations: 115.3 kB / 1.383 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/1.392, allocations: 7.438 kB / 1.383 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000128/1.392, allocations: 337.4 kB / 1.383 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/1.392, allocations: 77.11 kB / 1.383 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/1.393, allocations: 123 kB / 1.383 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/1.393, allocations: 102.4 kB / 1.383 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.393, allocations: 0 / 1.383 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004065/1.393, allocations: 284.7 kB / 1.384 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.393, allocations: 4 kB / 1.384 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.393, allocations: 3.953 kB / 1.384 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.393, allocations: 7.984 kB / 1.384 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/1.393, allocations: 59.91 kB / 1.384 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/1.393, allocations: 0 / 1.384 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/1.394, allocations: 30.97 kB / 1.384 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/1.394, allocations: 11.98 kB / 1.384 GB, free: 3.328 MB / 0.8386 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 () * 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.0001076/1.394, allocations: 123 kB / 1.384 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/1.394, allocations: 27.72 kB / 1.384 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007093/1.394, allocations: 389.4 kB / 1.384 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.395, allocations: 7.953 kB / 1.384 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.395, allocations: 0 / 1.384 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.395, allocations: 3.984 kB / 1.384 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/1.395, allocations: 346.8 kB / 1.385 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.395, allocations: 4 kB / 1.385 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/1.395, allocations: 59.47 kB / 1.385 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.395, allocations: 4 kB / 1.385 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/1.395, allocations: 7.875 kB / 1.385 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/1.395, allocations: 7.922 kB / 1.385 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.398e-05/1.395, allocations: 3.953 kB / 1.385 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/1.396, allocations: 313.2 kB / 1.385 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/1.396, allocations: 157.2 kB / 1.385 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/1.396, allocations: 14.12 kB / 1.385 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/1.396, allocations: 27.53 kB / 1.385 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.899e-05/1.396, allocations: 34.91 kB / 1.385 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/1.396, allocations: 19.17 kB / 1.385 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002064/1.396, allocations: 221.9 kB / 1.385 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.396, allocations: 0 / 1.385 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003171/1.397, allocations: 82.38 kB / 1.385 GB, free: 1.723 MB / 0.8386 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) * 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.000949/1.398, allocations: 366.2 kB / 1.386 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003915/1.398, allocations: 224.6 kB / 1.386 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.398, allocations: 0 / 1.386 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/1.398, allocations: 128.8 kB / 1.386 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/1.399, allocations: 28.66 kB / 1.386 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007444/1.399, allocations: 416.3 kB / 1.387 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/1.4, allocations: 0.7758 MB / 1.387 GB, free: 44 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004039/1.4, allocations: 151.1 kB / 1.387 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.64e-05/1.4, allocations: 47.28 kB / 1.387 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/1.4, allocations: 0 / 1.387 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of Templates: time 0.007216/1.408, allocations: 3.347 MB / 1.391 GB, free: 12.55 MB / 0.8542 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