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.001497/0.001497, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001756/0.001756, allocations: 169 kB / 23.27 MB, free: 1.223 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 1.028/1.028, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.443/2.443, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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 2.064e-06/2.064e-06, allocations: 0 / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.668e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004934/0.004951, allocations: 5.307 MB / 0.8949 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.1458, allocations: 144.1 MB / 1.036 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008486/0.1467, allocations: 39.69 kB / 1.036 GB, free: 3.742 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000685/0.1474, allocations: 377.3 kB / 1.036 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.1487, allocations: 0.6015 MB / 1.037 GB, free: 2.766 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1502, allocations: 0.9192 MB / 1.038 GB, free: 1.844 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.1513, allocations: 1.636 MB / 1.039 GB, free: 204 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.1519, allocations: 491.1 kB / 1.04 GB, free: 15.68 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006992/0.1525, allocations: 0.8731 MB / 1.04 GB, free: 14.81 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.1529, allocations: 426.6 kB / 1.041 GB, free: 14.39 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.153, allocations: 128 kB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.1536, allocations: 0.4993 MB / 1.041 GB, free: 13.77 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.1538, allocations: 338.8 kB / 1.042 GB, free: 13.43 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.154, allocations: 422.8 kB / 1.042 GB, free: 13.02 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1551, allocations: 1.393 MB / 1.044 GB, free: 11.62 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1551, allocations: 4 kB / 1.044 GB, free: 11.62 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1551, allocations: 0 / 1.044 GB, free: 11.62 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1551, allocations: 0 / 1.044 GB, free: 11.62 MB / 1.01 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.001732/0.1568, allocations: 1.782 MB / 1.045 GB, free: 9.793 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1569, allocations: 16.62 kB / 1.045 GB, free: 9.777 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000773/0.1577, allocations: 371.4 kB / 1.046 GB, free: 9.414 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007664/0.1584, allocations: 0.8667 MB / 1.047 GB, free: 8.512 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-05/0.1585, allocations: 82.16 kB / 1.047 GB, free: 8.43 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.1586, allocations: 116 kB / 1.047 GB, free: 8.316 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.1593, allocations: 0.9558 MB / 1.048 GB, free: 7.238 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1593, allocations: 0 / 1.048 GB, free: 7.238 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.1594, allocations: 40 kB / 1.048 GB, free: 7.199 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.1594, allocations: 24 kB / 1.048 GB, free: 7.176 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000632/0.16, allocations: 0.7078 MB / 1.048 GB, free: 6.465 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.1623, allocations: 2.426 MB / 1.051 GB, free: 3.98 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006928/0.163, allocations: 453.2 kB / 1.051 GB, free: 3.527 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.1632, allocations: 161.5 kB / 1.051 GB, free: 3.367 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/0.1632, allocations: 46.12 kB / 1.051 GB, free: 3.324 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/0.1636, allocations: 478.4 kB / 1.052 GB, free: 2.805 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 1.953e-06/0.1636, allocations: 4 kB / 1.052 GB, free: 2.801 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.001178/0.1648, allocations: 0.7726 MB / 1.053 GB, free: 2.02 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.1649, allocations: 200.9 kB / 1.053 GB, free: 1.781 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.1653, allocations: 0.6826 MB / 1.053 GB, free: 1.086 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.1654, allocations: 49.7 kB / 1.054 GB, free: 1.031 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.1656, allocations: 0.5777 MB / 1.054 GB, free: 456 kB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.1658, allocations: 293.5 kB / 1.054 GB, free: 160 kB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4516/0.6174, allocations: 183.7 kB / 1.055 GB, free: 65.46 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.6175, allocations: 0.5125 MB / 1.055 GB, free: 64.98 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.6177, allocations: 107.3 kB / 1.055 GB, free: 64.98 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.6179, allocations: 348.2 kB / 1.055 GB, free: 64.77 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.6183, allocations: 343.3 kB / 1.056 GB, free: 64.71 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6183, allocations: 0 / 1.056 GB, free: 64.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009357/0.6192, allocations: 0.6202 MB / 1.056 GB, free: 64.65 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.6192, allocations: 8.156 kB / 1.056 GB, free: 64.65 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6192, allocations: 0.625 kB / 1.056 GB, free: 64.65 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/0.6196, allocations: 133 kB / 1.057 GB, free: 64.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003475/0.62, allocations: 179.1 kB / 1.057 GB, free: 64.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009492/0.6209, allocations: 1.879 MB / 1.059 GB, free: 62.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.6213, allocations: 74.25 kB / 1.059 GB, free: 62.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.6213, allocations: 30.02 kB / 1.059 GB, free: 62.91 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0002948/0.6216, allocations: 215.2 kB / 1.059 GB, free: 62.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.6217, allocations: 143.8 kB / 1.059 GB, free: 62.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009002/0.6226, allocations: 0.7852 MB / 1.06 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.6226, allocations: 10.03 kB / 1.06 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.6226, allocations: 0 / 1.06 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.6226, allocations: 6.938 kB / 1.06 GB, free: 62.66 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.6241, allocations: 1.521 MB / 1.061 GB, free: 62.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6242, allocations: 0.875 kB / 1.061 GB, free: 62.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.6244, allocations: 140.4 kB / 1.061 GB, free: 62.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/0.6247, allocations: 117.3 kB / 1.061 GB, free: 62.29 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.6247, allocations: 22.94 kB / 1.062 GB, free: 62.29 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007384/0.6255, allocations: 1.894 MB / 1.063 GB, free: 60.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.6255, allocations: 0 / 1.063 GB, free: 60.55 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.6262, allocations: 0.8287 MB / 1.064 GB, free: 60.27 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002/0.6264, allocations: 209.4 kB / 1.064 GB, free: 60.21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.267e-05/0.6265, allocations: 21.34 kB / 1.064 GB, free: 60.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.6267, allocations: 39.73 kB / 1.064 GB, free: 60.21 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.6268, allocations: 71.95 kB / 1.064 GB, free: 60.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.6268, allocations: 32.94 kB / 1.065 GB, free: 60.21 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002332/0.627, allocations: 435.3 kB / 1.065 GB, free: 60.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.627, allocations: 0.7812 kB / 1.065 GB, free: 60.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006102/0.6276, allocations: 358.8 kB / 1.065 GB, free: 60.04 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.001121/0.6288, allocations: 0.6326 MB / 1.066 GB, free: 59.93 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00057/0.6293, allocations: 0.6028 MB / 1.066 GB, free: 59.73 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6293, allocations: 1.703 kB / 1.066 GB, free: 59.73 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.6296, allocations: 456.1 kB / 1.067 GB, free: 59.54 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/0.6305, allocations: 491.4 kB / 1.067 GB, free: 59.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.6324, allocations: 1.781 MB / 1.069 GB, free: 58.65 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.6325, allocations: 216.9 kB / 1.069 GB, free: 58.57 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004171/0.6329, allocations: 218 kB / 1.07 GB, free: 58.52 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.6335, allocations: 418.5 kB / 1.07 GB, free: 58.45 MB / 1.01 GB Notification: Performance of SimCode: time 5.91e-07/0.6335, allocations: 0 / 1.07 GB, free: 58.45 MB / 1.01 GB Notification: Performance of Templates: time 0.02199/0.6555, allocations: 19.43 MB / 1.089 GB, free: 56.51 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.742179020307958]