Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.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.001079/0.001079, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009416/0.0009416, allocations: 173 kB / 23.02 MB, free: 1.547 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.8913/0.8913, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.075/2.075, allocations: 429.5 MB / 0.6732 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaSta.reaWeaTDryBul.y|weaSta.reaWeaTDewPoi.y|weaSta.reaWeaTBlaSky.y|weaSta.reaWeaHGloHor.y|weaSta.reaWeaHDifHor.y|weaSta.reaWeaHDirNor.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486e-05/1.597e-05, allocations: 10.17 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004993/0.005008, allocations: 5.447 MB / 0.8835 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1251/0.1301, allocations: 146.9 MB / 1.027 GB, free: 13.53 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008997/0.131, allocations: 31.69 kB / 1.027 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007339/0.1317, allocations: 377.3 kB / 1.027 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.1332, allocations: 0.5977 MB / 1.028 GB, free: 12.53 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.1347, allocations: 0.9231 MB / 1.029 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.1361, allocations: 1.636 MB / 1.03 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.1367, allocations: 0.4912 MB / 1.031 GB, free: 9.438 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008937/0.1376, allocations: 0.8692 MB / 1.032 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.138, allocations: 422.6 kB / 1.032 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.1381, allocations: 132 kB / 1.032 GB, free: 8.023 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006526/0.1387, allocations: 0.4916 MB / 1.033 GB, free: 7.531 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.1389, allocations: 346.7 kB / 1.033 GB, free: 7.191 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.1392, allocations: 426.8 kB / 1.033 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1407, allocations: 1.393 MB / 1.035 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1407, allocations: 0 / 1.035 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1407, allocations: 0 / 1.035 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.907e-05/0.1407, allocations: 0 / 1.035 GB, free: 5.375 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.001677/0.1424, allocations: 1.767 MB / 1.037 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1425, allocations: 8.031 kB / 1.037 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000817/0.1433, allocations: 375.4 kB / 1.037 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008591/0.1441, allocations: 0.8668 MB / 1.038 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.1442, allocations: 90.09 kB / 1.038 GB, free: 2.191 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-05/0.1443, allocations: 100 kB / 1.038 GB, free: 2.094 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009954/0.1453, allocations: 1.026 MB / 1.039 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1453, allocations: 0 / 1.039 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.1453, allocations: 44 kB / 1.039 GB, free: 0.9023 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.1454, allocations: 24 kB / 1.039 GB, free: 0.8789 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008575/0.1462, allocations: 0.827 MB / 1.04 GB, free: 48 kB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.149, allocations: 2.567 MB / 1.042 GB, free: 13.41 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.1497, allocations: 499.1 kB / 1.043 GB, free: 12.92 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002289/0.1499, allocations: 181.5 kB / 1.043 GB, free: 12.74 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.15, allocations: 36.61 kB / 1.043 GB, free: 12.7 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004691/0.1504, allocations: 0.4907 MB / 1.043 GB, free: 12.17 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 1.813e-06/0.1504, allocations: 0 / 1.043 GB, free: 12.17 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.00146/0.1519, allocations: 0.8468 MB / 1.044 GB, free: 11.31 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.152, allocations: 200.9 kB / 1.044 GB, free: 11.07 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005573/0.1525, allocations: 0.6987 MB / 1.045 GB, free: 10.36 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.1526, allocations: 57.64 kB / 1.045 GB, free: 10.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.1529, allocations: 0.5701 MB / 1.046 GB, free: 9.719 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.153, allocations: 285.6 kB / 1.046 GB, free: 9.438 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.1532, allocations: 184.2 kB / 1.046 GB, free: 9.25 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1533, allocations: 0.5043 MB / 1.047 GB, free: 8.738 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.1535, allocations: 141.9 kB / 1.047 GB, free: 8.598 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/0.1538, allocations: 377.8 kB / 1.047 GB, free: 8.18 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007294/0.1546, allocations: 391.1 kB / 1.048 GB, free: 7.781 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1546, allocations: 8 kB / 1.048 GB, free: 7.773 MB / 1.01 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.000956/0.1555, allocations: 0.6878 MB / 1.048 GB, free: 7.074 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1555, allocations: 4.094 kB / 1.048 GB, free: 7.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1555, allocations: 4 kB / 1.048 GB, free: 7.066 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004407/0.156, allocations: 135.5 kB / 1.048 GB, free: 6.934 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.1564, allocations: 171.8 kB / 1.049 GB, free: 6.766 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/0.1576, allocations: 1.913 MB / 1.05 GB, free: 4.723 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.1578, allocations: 77.56 kB / 1.05 GB, free: 4.648 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.557e-05/0.1579, allocations: 39.97 kB / 1.051 GB, free: 4.609 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.1581, allocations: 215 kB / 1.051 GB, free: 4.391 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.1582, allocations: 131.3 kB / 1.051 GB, free: 4.262 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.1595, allocations: 0.8477 MB / 1.052 GB, free: 3.402 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1595, allocations: 8 kB / 1.052 GB, free: 3.395 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1595, allocations: 0 / 1.052 GB, free: 3.395 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1595, allocations: 3.984 kB / 1.052 GB, free: 3.391 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.1613, allocations: 1.721 MB / 1.053 GB, free: 1.609 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.1613, allocations: 7.984 kB / 1.053 GB, free: 1.602 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.1616, allocations: 143.8 kB / 1.054 GB, free: 1.461 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.1619, allocations: 115.6 kB / 1.054 GB, free: 1.344 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/0.162, allocations: 27.97 kB / 1.054 GB, free: 1.316 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4211/0.583, allocations: 1.917 MB / 1.056 GB, free: 68.26 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.583, allocations: 0 / 1.056 GB, free: 68.26 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.5843, allocations: 0.8867 MB / 1.056 GB, free: 68.07 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.5846, allocations: 217 kB / 1.057 GB, free: 68.07 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-05/0.5847, allocations: 21.53 kB / 1.057 GB, free: 68.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.5849, allocations: 37.61 kB / 1.057 GB, free: 68.07 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.5851, allocations: 74.91 kB / 1.057 GB, free: 68.07 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.5851, allocations: 39.44 kB / 1.057 GB, free: 68.07 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003902/0.5855, allocations: 461 kB / 1.057 GB, free: 67.93 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5855, allocations: 0 / 1.057 GB, free: 67.93 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007524/0.5862, allocations: 364.3 kB / 1.058 GB, free: 67.93 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/0.5875, allocations: 0.628 MB / 1.058 GB, free: 67.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008658/0.5884, allocations: 0.6669 MB / 1.059 GB, free: 67.6 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5884, allocations: 3.703 kB / 1.059 GB, free: 67.6 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.5888, allocations: 475 kB / 1.059 GB, free: 67.41 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.5897, allocations: 0.4885 MB / 1.06 GB, free: 67.37 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.592, allocations: 1.805 MB / 1.062 GB, free: 66.53 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.5922, allocations: 220 kB / 1.062 GB, free: 66.45 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005113/0.5927, allocations: 281.6 kB / 1.062 GB, free: 66.42 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.5929, allocations: 115.8 kB / 1.062 GB, free: 66.42 MB / 1.01 GB Notification: Performance of SimCode: time 8.42e-07/0.5929, allocations: 0 / 1.062 GB, free: 66.42 MB / 1.01 GB Notification: Performance of Templates: time 0.02201/0.6149, allocations: 19.04 MB / 1.081 GB, free: 64.45 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.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: 6.288372840266675]