Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.00118/0.00118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001175, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.23/1.23, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.127/2.127, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5868, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005517/0.5923, allocations: 5.105 MB / 0.9546 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1597/0.752, allocations: 150.8 MB / 1.102 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.7533, allocations: 23.88 kB / 1.102 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007651/0.7541, allocations: 349.4 kB / 1.102 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.7557, allocations: 0.5198 MB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.7575, allocations: 0.8536 MB / 1.104 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.7589, allocations: 1.473 MB / 1.105 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009703/0.7599, allocations: 0.8216 MB / 1.106 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.7605, allocations: 0.5253 MB / 1.106 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004907/0.761, allocations: 0.5597 MB / 1.107 GB, free: 160 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.7611, allocations: 132 kB / 1.107 GB, free: 28 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008224/0.762, allocations: 471.7 kB / 1.107 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.7622, allocations: 330.9 kB / 1.108 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004803/0.7627, allocations: 0.6526 MB / 1.108 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001804/0.7645, allocations: 1.834 MB / 1.11 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7646, allocations: 4 kB / 1.11 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7646, allocations: 0 / 1.11 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.7646, allocations: 0 / 1.11 GB, free: 12.74 MB / 0.8731 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.002565/0.7672, allocations: 1.667 MB / 1.112 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.7672, allocations: 12.03 kB / 1.112 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/0.7681, allocations: 215 kB / 1.112 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.7692, allocations: 0.8944 MB / 1.113 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.454e-05/0.7693, allocations: 74 kB / 1.113 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.7694, allocations: 92 kB / 1.113 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.7709, allocations: 1.035 MB / 1.114 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.771, allocations: 0 / 1.114 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.7711, allocations: 44 kB / 1.114 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.7711, allocations: 24 kB / 1.114 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.7728, allocations: 1.171 MB / 1.115 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003854/0.7767, allocations: 2.827 MB / 1.118 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.7781, allocations: 0.798 MB / 1.119 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004876/0.7786, allocations: 294.7 kB / 1.119 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.625e-05/0.7787, allocations: 32.59 kB / 1.119 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008581/0.7795, allocations: 499 kB / 1.12 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 3.457e-06/0.7796, allocations: 0 / 1.12 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.002898/0.7825, allocations: 1.205 MB / 1.121 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/0.7826, allocations: 192.6 kB / 1.121 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008779/0.7834, allocations: 0.7912 MB / 1.122 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.7835, allocations: 41.69 kB / 1.122 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.7839, allocations: 0.5117 MB / 1.122 GB, free: 8 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.7841, allocations: 249.6 kB / 1.123 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.7843, allocations: 154.5 kB / 1.123 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7844, allocations: 349.7 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.7849, allocations: 269.9 kB / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005724/0.7855, allocations: 355.1 kB / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.7866, allocations: 0.611 MB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7866, allocations: 4 kB / 1.124 GB, free: 14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001786/0.7884, allocations: 0.8563 MB / 1.125 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7884, allocations: 9.094 kB / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7884, allocations: 0 / 1.125 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/0.789, allocations: 92.73 kB / 1.125 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.7896, allocations: 151.8 kB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.7915, allocations: 1.654 MB / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006845/0.7922, allocations: 87.33 kB / 1.127 GB, free: 11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.7923, allocations: 35.97 kB / 1.127 GB, free: 10.96 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (92): * Single equations (assignments): 91 * 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.0004249/0.7927, allocations: 299.3 kB / 1.127 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.7929, allocations: 106.8 kB / 1.127 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/0.7951, allocations: 1.07 MB / 1.128 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.7951, allocations: 16 kB / 1.128 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7951, allocations: 3.938 kB / 1.128 GB, free: 9.453 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.7951, allocations: 3.984 kB / 1.128 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.7961, allocations: 1.005 MB / 1.129 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7961, allocations: 0 / 1.129 GB, free: 8.395 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.7967, allocations: 139.8 kB / 1.13 GB, free: 8.258 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003992/0.7971, allocations: 76.73 kB / 1.13 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.7971, allocations: 27.97 kB / 1.13 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.7989, allocations: 1.666 MB / 1.131 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7989, allocations: 0 / 1.131 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.8007, allocations: 0.9433 MB / 1.132 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.801, allocations: 295.4 kB / 1.133 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.8011, allocations: 24 kB / 1.133 GB, free: 5.043 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/0.8017, allocations: 55.94 kB / 1.133 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.8019, allocations: 76.83 kB / 1.133 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-05/0.8019, allocations: 32.05 kB / 1.133 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006906/0.8026, allocations: 0.5542 MB / 1.133 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8026, allocations: 0 / 1.133 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008486/0.8035, allocations: 335.1 kB / 1.134 GB, free: 3.988 MB / 0.8887 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 (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.001311/0.8048, allocations: 0.6071 MB / 1.134 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.807, allocations: 1.019 MB / 1.135 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.807, allocations: 3.938 kB / 1.135 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.8079, allocations: 0.5158 MB / 1.136 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.8095, allocations: 460.1 kB / 1.136 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.8137, allocations: 2.042 MB / 1.138 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006069/0.8143, allocations: 1.102 MB / 1.139 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008569/0.8152, allocations: 291.5 kB / 1.139 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.8154, allocations: 115.4 kB / 1.14 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of SimCode: time 6.71e-07/0.8154, allocations: 0 / 1.14 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of Templates: time 0.02633/0.8417, allocations: 16.96 MB / 1.156 GB, free: 13.17 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches