Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009426/0.0009426, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009957/0.0009957, allocations: 166.1 kB / 24.87 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9311/0.9311, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.003/2.003, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.257e-05, allocations: 7.078 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002858/0.002881, allocations: 1.929 MB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002074/0.004955, allocations: 1.834 MB / 0.8165 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.005058, allocations: 1.094 kB / 0.8165 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.005309, allocations: 31.7 kB / 0.8165 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.005726, allocations: 128.8 kB / 0.8166 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.006099, allocations: 175.4 kB / 0.8168 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.006397, allocations: 302.7 kB / 0.8171 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.006506, allocations: 25.3 kB / 0.8171 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02899/0.0355, allocations: 10.48 MB / 0.8273 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.03568, allocations: 83.81 kB / 0.8274 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.03571, allocations: 20 kB / 0.8274 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.03589, allocations: 71.86 kB / 0.8275 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.849e-05/0.03598, allocations: 91.72 kB / 0.8276 GB, free: 6.035 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.064e-05/0.03606, allocations: 75.81 kB / 0.8277 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.0365, allocations: 270.9 kB / 0.8279 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.0365, allocations: 0 / 0.8279 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.573e-06/0.0365, allocations: 0 / 0.8279 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.03651, allocations: 4.656 kB / 0.8279 GB, free: 5.691 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006742/0.03719, allocations: 0.6062 MB / 0.8285 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.03722, allocations: 8.031 kB / 0.8285 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.03737, allocations: 64.67 kB / 0.8286 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.03765, allocations: 258.1 kB / 0.8288 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.03767, allocations: 12.75 kB / 0.8289 GB, free: 4.684 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.0377, allocations: 24.38 kB / 0.8289 GB, free: 4.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.03795, allocations: 299.8 kB / 0.8292 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.03796, allocations: 3.938 kB / 0.8292 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.03798, allocations: 12 kB / 0.8292 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.03799, allocations: 4 kB / 0.8292 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.03844, allocations: 0.5687 MB / 0.8297 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006684/0.03911, allocations: 0.5036 MB / 0.8302 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.03933, allocations: 170.3 kB / 0.8304 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/0.03938, allocations: 51.66 kB / 0.8304 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.03942, allocations: 15.98 kB / 0.8305 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.03962, allocations: 193.6 kB / 0.8306 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 2.825e-06/0.03962, allocations: 0 / 0.8306 GB, free: 2.734 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36): time 0.0003478/0.03997, allocations: 258.1 kB / 0.8309 GB, free: 2.477 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.04002, allocations: 106.8 kB / 0.831 GB, free: 2.348 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.04017, allocations: 276.2 kB / 0.8313 GB, free: 2.066 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.0402, allocations: 41.69 kB / 0.8313 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.04028, allocations: 187.7 kB / 0.8315 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/0.04035, allocations: 126.9 kB / 0.8316 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.04042, allocations: 75.31 kB / 0.8317 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.04061, allocations: 0.5234 MB / 0.8322 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.045e-05/0.04067, allocations: 31.97 kB / 0.8322 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-05/0.04076, allocations: 142.1 kB / 0.8323 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.04089, allocations: 117.8 kB / 0.8325 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.04089, allocations: 0 / 0.8325 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002177/0.04111, allocations: 212.7 kB / 0.8327 GB, free: 0.5625 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.04113, allocations: 7.984 kB / 0.8327 GB, free: 0.5547 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.04114, allocations: 4.031 kB / 0.8327 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.04115, allocations: 4 kB / 0.8327 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.0413, allocations: 59.91 kB / 0.8327 GB, free: 500 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.04131, allocations: 4 kB / 0.8327 GB, free: 496 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.04138, allocations: 23.89 kB / 0.8328 GB, free: 472 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.0414, allocations: 15.92 kB / 0.8328 GB, free: 456 kB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (38): * Single equations (assignments): 38 * 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.0001168/0.04151, allocations: 176.5 kB / 0.8329 GB, free: 268 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.04156, allocations: 39.81 kB / 0.833 GB, free: 228 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.042, allocations: 292.7 kB / 0.8333 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.042, allocations: 4 kB / 0.8333 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.04201, allocations: 3.984 kB / 0.8333 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.04201, allocations: 4 kB / 0.8333 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.04218, allocations: 208.9 kB / 0.8335 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.04218, allocations: 0 / 0.8335 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.04229, allocations: 59.91 kB / 0.8335 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.04229, allocations: 0 / 0.8335 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.0423, allocations: 8 kB / 0.8335 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.04231, allocations: 4 kB / 0.8335 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.04231, allocations: 0 / 0.8335 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.04256, allocations: 266.6 kB / 0.8338 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.04264, allocations: 71.61 kB / 0.8339 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.04267, allocations: 8 kB / 0.8339 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.04274, allocations: 19.98 kB / 0.8339 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.04279, allocations: 23.95 kB / 0.8339 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.0428, allocations: 15.98 kB / 0.8339 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.681e-05/0.04289, allocations: 193.1 kB / 0.8341 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.04289, allocations: 0 / 0.8341 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001994/0.04309, allocations: 59.95 kB / 0.8342 GB, free: 14.95 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000779/0.04387, allocations: 352.2 kB / 0.8345 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.04408, allocations: 151.3 kB / 0.8346 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.04408, allocations: 0 / 0.8346 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.04417, allocations: 87.56 kB / 0.8347 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.0444, allocations: 66.88 kB / 0.8348 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009999/0.0454, allocations: 486.9 kB / 0.8353 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.23e-05/0.04545, allocations: 94.12 kB / 0.8353 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.04559, allocations: 74.97 kB / 0.8354 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.04578, allocations: 174.1 kB / 0.8356 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of SimCode: time 8.22e-07/0.04578, allocations: 0 / 0.8356 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of Templates: time 0.00615/0.05193, allocations: 3.756 MB / 0.8393 GB, free: 9.844 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.466995449271053]