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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009487/0.0009486, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.749/2.749, allocations: 436.5 MB / 0.7104 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004389/0.0004389, allocations: 12 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.927/0.9274, allocations: 153.6 MB / 1.021 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006051/0.9336, allocations: 4.333 MB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1697/1.103, allocations: 127.8 MB / 1.15 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009801/1.104, allocations: 23.81 kB / 1.15 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005709/1.105, allocations: 99 kB / 1.15 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/1.107, allocations: 0.5561 MB / 1.15 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/1.109, allocations: 0.6352 MB / 1.151 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001998/1.111, allocations: 1.049 MB / 1.152 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/1.112, allocations: 0.5903 MB / 1.153 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/1.113, allocations: 366.3 kB / 1.153 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/1.114, allocations: 381.8 kB / 1.153 GB, free: 8.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/1.114, allocations: 28 kB / 1.153 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009238/1.115, allocations: 307.6 kB / 1.154 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003408/1.115, allocations: 199.1 kB / 1.154 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003074/1.115, allocations: 237 kB / 1.154 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/1.117, allocations: 1.372 MB / 1.156 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/1.117, allocations: 4 kB / 1.156 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.585e-06/1.117, allocations: 0 / 1.156 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.929e-05/1.117, allocations: 0 / 1.156 GB, free: 6.789 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002747/1.12, allocations: 1.423 MB / 1.157 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.12, allocations: 15.98 kB / 1.157 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009015/1.121, allocations: 222.1 kB / 1.157 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/1.122, allocations: 0.8633 MB / 1.158 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001452/1.122, allocations: 74 kB / 1.158 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.122, allocations: 99.98 kB / 1.158 GB, free: 4.008 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002376/1.125, allocations: 1.012 MB / 1.159 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/1.125, allocations: 4 kB / 1.159 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/1.125, allocations: 43.98 kB / 1.159 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/1.125, allocations: 24 kB / 1.159 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/1.127, allocations: 1.175 MB / 1.16 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005253/1.132, allocations: 2.863 MB / 1.163 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/1.134, allocations: 0.8002 MB / 1.164 GB, free: 13.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-05/1.134, allocations: 32.61 kB / 1.164 GB, free: 13.94 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007782/1.135, allocations: 499.1 kB / 1.164 GB, free: 13.44 MB / 0.92 GB Notification: Performance of pre-optimization done (n=78): time 4.759e-06/1.135, allocations: 0 / 1.164 GB, free: 13.44 MB / 0.92 GB Notification: Performance of matching and sorting (n=78): time 0.003102/1.138, allocations: 1.211 MB / 1.166 GB, free: 12.2 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/1.138, allocations: 200.5 kB / 1.166 GB, free: 11.96 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/1.139, allocations: 0.7851 MB / 1.167 GB, free: 11.15 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/1.139, allocations: 45.7 kB / 1.167 GB, free: 11.1 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/1.14, allocations: 0.5078 MB / 1.167 GB, free: 10.58 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/1.14, allocations: 252.4 kB / 1.167 GB, free: 10.33 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/1.14, allocations: 16 kB / 1.167 GB, free: 10.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.14, allocations: 326 kB / 1.168 GB, free: 9.992 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/1.14, allocations: 245.9 kB / 1.168 GB, free: 9.75 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/1.141, allocations: 358.5 kB / 1.168 GB, free: 9.375 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/1.142, allocations: 294.9 kB / 1.169 GB, free: 9.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.142, allocations: 0 / 1.169 GB, free: 9.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001774/1.143, allocations: 0.8173 MB / 1.169 GB, free: 8.258 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.143, allocations: 9.672 kB / 1.169 GB, free: 8.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.143, allocations: 0 / 1.169 GB, free: 8.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/1.144, allocations: 96.83 kB / 1.169 GB, free: 8.152 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/1.145, allocations: 147.8 kB / 1.17 GB, free: 8.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/1.147, allocations: 1.54 MB / 1.171 GB, free: 6.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/1.147, allocations: 107.8 kB / 1.171 GB, free: 6.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/1.147, allocations: 35.97 kB / 1.171 GB, free: 6.188 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005244/1.148, allocations: 282 kB / 1.171 GB, free: 5.902 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/1.148, allocations: 106.7 kB / 1.172 GB, free: 5.797 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/1.15, allocations: 1.095 MB / 1.173 GB, free: 4.688 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.15, allocations: 12 kB / 1.173 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/1.15, allocations: 0 / 1.173 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.15, allocations: 3.984 kB / 1.173 GB, free: 4.672 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/1.152, allocations: 1.005 MB / 1.174 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.152, allocations: 0 / 1.174 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005372/1.152, allocations: 135.8 kB / 1.174 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004759/1.153, allocations: 84.77 kB / 1.174 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/1.153, allocations: 23.98 kB / 1.174 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/1.154, allocations: 1.575 MB / 1.175 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.154, allocations: 7.922 kB / 1.175 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/1.156, allocations: 0.9511 MB / 1.176 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/1.157, allocations: 299.4 kB / 1.177 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/1.157, allocations: 23.98 kB / 1.177 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005942/1.158, allocations: 76.5 kB / 1.177 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.158, allocations: 72.84 kB / 1.177 GB, free: 200 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/1.158, allocations: 35.98 kB / 1.177 GB, free: 164 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000776/1.159, allocations: 0.5464 MB / 1.177 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.325e-06/1.159, allocations: 0 / 1.177 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008449/1.159, allocations: 335 kB / 1.178 GB, free: 15.27 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/1.161, allocations: 0.6008 MB / 1.178 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001661/1.162, allocations: 0.7885 MB / 1.179 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.162, allocations: 0 / 1.179 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008875/1.163, allocations: 0.5196 MB / 1.18 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/1.165, allocations: 387.4 kB / 1.18 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004543/1.169, allocations: 2.507 MB / 1.182 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007213/1.17, allocations: 1.122 MB / 1.183 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008929/1.171, allocations: 283.5 kB / 1.184 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/1.171, allocations: 119.4 kB / 1.184 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/1.171, allocations: 0 / 1.184 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of Templates: time 0.02751/1.199, allocations: 15.7 MB / 1.199 GB, free: 9.52 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches