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.001325/0.001325, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001431/0.001431, allocations: 185.3 kB / 24.09 MB, free: 416 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 0.9885/0.9885, allocations: 177.1 MB / 204.5 MB, free: 5.492 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 1.895/1.895, allocations: 377.9 MB / 0.6239 GB, free: 8.418 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.553e-06/1.553e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.455e-05, allocations: 7.25 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00253/0.002554, allocations: 1.943 MB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001814/0.004368, allocations: 1.831 MB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.462e-05/0.004453, allocations: 0 / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.004661, allocations: 28.92 kB / 0.8157 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.005014, allocations: 128.6 kB / 0.8159 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.005482, allocations: 171.4 kB / 0.816 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000264/0.005746, allocations: 309.9 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.353e-05/0.005839, allocations: 21.3 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02704/0.03288, allocations: 10.47 MB / 0.8266 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.03304, allocations: 91.75 kB / 0.8267 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.03307, allocations: 21.12 kB / 0.8267 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.03325, allocations: 63.92 kB / 0.8267 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.01e-05/0.03333, allocations: 95.72 kB / 0.8268 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.441e-05/0.03341, allocations: 80.78 kB / 0.8269 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.03378, allocations: 274.9 kB / 0.8272 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.03379, allocations: 0 / 0.8272 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.934e-06/0.03379, allocations: 1.125 kB / 0.8272 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.03379, allocations: 4 kB / 0.8272 GB, free: 5.688 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.0006611/0.03445, allocations: 0.5987 MB / 0.8278 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.03449, allocations: 8.031 kB / 0.8278 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.03463, allocations: 56.67 kB / 0.8278 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.03486, allocations: 261.5 kB / 0.8281 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.03488, allocations: 16.75 kB / 0.8281 GB, free: 4.691 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.0349, allocations: 20.38 kB / 0.8281 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.03518, allocations: 303.7 kB / 0.8284 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.03519, allocations: 3.938 kB / 0.8284 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.0352, allocations: 8 kB / 0.8284 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.03521, allocations: 4 kB / 0.8284 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.03562, allocations: 0.5687 MB / 0.829 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.03632, allocations: 0.5059 MB / 0.8295 GB, free: 3.215 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.03653, allocations: 174.2 kB / 0.8296 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.03659, allocations: 51.64 kB / 0.8297 GB, free: 2.973 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.608e-05/0.03665, allocations: 39.78 kB / 0.8297 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001936/0.03684, allocations: 193.7 kB / 0.8299 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.03684, allocations: 0 / 0.8299 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36): time 0.0003278/0.03717, allocations: 254.1 kB / 0.8301 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.03722, allocations: 106.8 kB / 0.8302 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.03737, allocations: 284.2 kB / 0.8305 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.03739, allocations: 29.7 kB / 0.8305 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.03761, allocations: 183.7 kB / 0.8307 GB, free: 1.828 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.03768, allocations: 134.9 kB / 0.8308 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-05/0.03776, allocations: 75.31 kB / 0.8309 GB, free: 1.613 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.03789, allocations: 0.5234 MB / 0.8314 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.03793, allocations: 31.97 kB / 0.8315 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.03804, allocations: 142.1 kB / 0.8316 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.03817, allocations: 109.8 kB / 0.8317 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.03817, allocations: 0 / 0.8317 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000215/0.03838, allocations: 220.6 kB / 0.8319 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.0384, allocations: 4 kB / 0.8319 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.03841, allocations: 0 / 0.8319 GB, free: 0.5469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.03842, allocations: 4 kB / 0.8319 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.03857, allocations: 67.91 kB / 0.832 GB, free: 488 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.03857, allocations: 0 / 0.832 GB, free: 488 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.151e-05/0.03864, allocations: 23.88 kB / 0.832 GB, free: 464 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.03866, allocations: 19.97 kB / 0.832 GB, free: 444 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 9.437e-05/0.03875, allocations: 172.5 kB / 0.8322 GB, free: 260 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.03879, allocations: 43.81 kB / 0.8322 GB, free: 216 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.03913, allocations: 296.8 kB / 0.8325 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.03914, allocations: 4 kB / 0.8325 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.03914, allocations: 0 / 0.8325 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.03914, allocations: 0 / 0.8325 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.03931, allocations: 200.9 kB / 0.8327 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.03931, allocations: 0 / 0.8327 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-05/0.03941, allocations: 63.91 kB / 0.8328 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.03941, allocations: 0 / 0.8328 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.03942, allocations: 8 kB / 0.8328 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.03943, allocations: 11.94 kB / 0.8328 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.03943, allocations: 0 / 0.8328 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.03967, allocations: 274.5 kB / 0.833 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.03974, allocations: 63.67 kB / 0.8331 GB, free: 15.26 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.03977, allocations: 15.98 kB / 0.8331 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.03984, allocations: 12 kB / 0.8331 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.03988, allocations: 27.94 kB / 0.8332 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.0399, allocations: 8 kB / 0.8332 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 8.304e-05/0.03998, allocations: 189.1 kB / 0.8333 GB, free: 15.01 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03998, allocations: 4 kB / 0.8334 GB, free: 15 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001837/0.04017, allocations: 63.95 kB / 0.8334 GB, free: 14.94 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.0008203/0.04099, allocations: 352.7 kB / 0.8337 GB, free: 14.71 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.04119, allocations: 151.4 kB / 0.8339 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.04119, allocations: 0 / 0.8339 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.04129, allocations: 95.48 kB / 0.834 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.04154, allocations: 64.17 kB / 0.834 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.04276, allocations: 479 kB / 0.8345 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.572e-05/0.04281, allocations: 98.12 kB / 0.8346 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.04296, allocations: 90.89 kB / 0.8347 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.04315, allocations: 158.1 kB / 0.8348 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of SimCode: time 1.082e-06/0.04315, allocations: 0 / 0.8348 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of Templates: time 0.005839/0.04899, allocations: 3.719 MB / 0.8385 GB, free: 9.871 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.284824456088245]