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.001225/0.001225, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001267/0.001267, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 1.072/1.072, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.083/2.083, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.493e-06/1.493e-06, allocations: 0 / 0.7601 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.91e-05, allocations: 5.547 kB / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.009751/0.00978, allocations: 1.997 MB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005865/0.01565, allocations: 1.857 MB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.01579, allocations: 5.312 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.01605, allocations: 32.58 kB / 0.7639 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004947/0.01655, allocations: 121.4 kB / 0.764 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.01702, allocations: 172.7 kB / 0.7642 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.01739, allocations: 305.2 kB / 0.7644 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.01751, allocations: 22.73 kB / 0.7645 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04664/0.06415, allocations: 10.53 MB / 0.7747 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.06433, allocations: 75.83 kB / 0.7748 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.06437, allocations: 20 kB / 0.7748 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.06463, allocations: 86.52 kB / 0.7749 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.511e-05/0.06472, allocations: 87.73 kB / 0.775 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.172e-05/0.06481, allocations: 75.81 kB / 0.7751 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.06521, allocations: 274.9 kB / 0.7753 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.06522, allocations: 0 / 0.7753 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.733e-06/0.06522, allocations: 0 / 0.7753 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.06523, allocations: 0 / 0.7753 GB, free: 10.76 MB / 0.7292 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.0006098/0.06584, allocations: 483.7 kB / 0.7758 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.06587, allocations: 8.031 kB / 0.7758 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.06604, allocations: 44.84 kB / 0.7759 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.06632, allocations: 240.7 kB / 0.7761 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.06634, allocations: 16.75 kB / 0.7761 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.06637, allocations: 20.31 kB / 0.7761 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.06662, allocations: 293.9 kB / 0.7764 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.06663, allocations: 7.922 kB / 0.7764 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.06665, allocations: 4.625 kB / 0.7764 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.06666, allocations: 4 kB / 0.7764 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.06709, allocations: 496.9 kB / 0.7769 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.06777, allocations: 394.1 kB / 0.7773 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.068, allocations: 133.2 kB / 0.7774 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.06806, allocations: 56.75 kB / 0.7774 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.0681, allocations: 17.14 kB / 0.7775 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.06831, allocations: 180 kB / 0.7776 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=36): time 2.795e-06/0.06831, allocations: 4 kB / 0.7776 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36): time 0.0002626/0.06857, allocations: 175.9 kB / 0.7778 GB, free: 8.094 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.06863, allocations: 110.8 kB / 0.7779 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.06878, allocations: 224.9 kB / 0.7781 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.0688, allocations: 30.3 kB / 0.7782 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.06885, allocations: 113.5 kB / 0.7783 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.06893, allocations: 127.7 kB / 0.7784 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.069, allocations: 61.67 kB / 0.7784 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.06911, allocations: 347.2 kB / 0.7788 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.778e-05/0.06916, allocations: 29.75 kB / 0.7788 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.06925, allocations: 113.9 kB / 0.7789 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.06939, allocations: 109.5 kB / 0.779 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.06939, allocations: 0 / 0.779 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001713/0.06956, allocations: 153 kB / 0.7792 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.06958, allocations: 12.98 kB / 0.7792 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.06958, allocations: 0 / 0.7792 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.0696, allocations: 0 / 0.7792 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.06976, allocations: 61 kB / 0.7792 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.06976, allocations: 4 kB / 0.7792 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.267e-05/0.06984, allocations: 25.09 kB / 0.7793 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.06985, allocations: 8 kB / 0.7793 GB, free: 6.516 MB / 0.7292 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.0001036/0.06996, allocations: 128.5 kB / 0.7794 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.06999, allocations: 36.88 kB / 0.7794 GB, free: 6.344 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.07028, allocations: 220.8 kB / 0.7796 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.07028, allocations: 4 kB / 0.7796 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.07028, allocations: 0 / 0.7796 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.07029, allocations: 9.375 kB / 0.7796 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.07046, allocations: 173.5 kB / 0.7798 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.07047, allocations: 4 kB / 0.7798 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.07058, allocations: 59.89 kB / 0.7799 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.07058, allocations: 0.9688 kB / 0.7799 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.0706, allocations: 12 kB / 0.7799 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.0706, allocations: 0.7812 kB / 0.7799 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.0706, allocations: 0 / 0.7799 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.07079, allocations: 191.4 kB / 0.7801 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.07086, allocations: 61.36 kB / 0.7801 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.07089, allocations: 11.98 kB / 0.7801 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.002e-05/0.07097, allocations: 19.98 kB / 0.7802 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.07102, allocations: 19.95 kB / 0.7802 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.07103, allocations: 9.781 kB / 0.7802 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.07109, allocations: 74.77 kB / 0.7803 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.1e-08/0.07109, allocations: 0 / 0.7803 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001793/0.07127, allocations: 55.94 kB / 0.7803 GB, free: 5.398 MB / 0.7292 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.001241/0.07251, allocations: 448.5 kB / 0.7807 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.0727, allocations: 126 kB / 0.7809 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.07271, allocations: 0 / 0.7809 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.98e-05/0.07279, allocations: 80.55 kB / 0.7809 GB, free: 4.949 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.07298, allocations: 51.75 kB / 0.781 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.07384, allocations: 459.3 kB / 0.7814 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.0739, allocations: 102 kB / 0.7815 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.07404, allocations: 84.06 kB / 0.7816 GB, free: 4.238 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.07423, allocations: 129.4 kB / 0.7817 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of SimCode: time 1.813e-06/0.07423, allocations: 0 / 0.7817 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of Templates: time 0.006192/0.08042, allocations: 3.761 MB / 0.7854 GB, free: 472 kB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.618004205171019]