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.001567/0.001567, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00213/0.00213, allocations: 189 kB / 16.25 MB, free: 6.152 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.41 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.478/2.478, allocations: 390.2 MB / 0.6643 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.84 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8429, allocations: 140.4 MB / 0.9491 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007852/0.8508, allocations: 5.107 MB / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.209/1.06, allocations: 148.6 MB / 1.099 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/1.062, allocations: 23.88 kB / 1.099 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/1.063, allocations: 298.1 kB / 1.099 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0027/1.066, allocations: 469.1 kB / 1.1 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/1.069, allocations: 0.7711 MB / 1.101 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002128/1.071, allocations: 1.473 MB / 1.102 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/1.072, allocations: 0.8098 MB / 1.103 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/1.073, allocations: 0.5253 MB / 1.103 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000642/1.073, allocations: 0.5598 MB / 1.104 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/1.074, allocations: 136 kB / 1.104 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/1.075, allocations: 475.6 kB / 1.105 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003173/1.075, allocations: 334.8 kB / 1.105 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006124/1.076, allocations: 0.6449 MB / 1.106 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/1.078, allocations: 1.838 MB / 1.107 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.078, allocations: 0 / 1.107 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.395e-06/1.078, allocations: 0 / 1.107 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.742e-05/1.078, allocations: 0 / 1.107 GB, free: 15.43 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.003194/1.081, allocations: 1.671 MB / 1.109 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.081, allocations: 11.97 kB / 1.109 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009952/1.082, allocations: 215 kB / 1.109 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/1.084, allocations: 0.8867 MB / 1.11 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/1.084, allocations: 78 kB / 1.11 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/1.084, allocations: 92 kB / 1.11 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.086, allocations: 1.043 MB / 1.111 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.086, allocations: 0 / 1.111 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.864e-05/1.086, allocations: 40 kB / 1.111 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/1.086, allocations: 28 kB / 1.111 GB, free: 11.24 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/1.088, allocations: 1.167 MB / 1.112 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004532/1.092, allocations: 2.831 MB / 1.115 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.094, allocations: 0.7979 MB / 1.116 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/1.094, allocations: 298.7 kB / 1.116 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.654e-05/1.094, allocations: 40.53 kB / 1.116 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/1.095, allocations: 497.2 kB / 1.117 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=78): time 2.384e-06/1.095, allocations: 0 / 1.117 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of matching and sorting (n=78): time 0.003368/1.099, allocations: 1.197 MB / 1.118 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.099, allocations: 196.6 kB / 1.118 GB, free: 4.059 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.1, allocations: 0.7912 MB / 1.119 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/1.1, allocations: 49.62 kB / 1.119 GB, free: 3.188 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/1.101, allocations: 0.5078 MB / 1.119 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/1.101, allocations: 248.5 kB / 1.12 GB, free: 2.426 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/1.101, allocations: 158.5 kB / 1.12 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.101, allocations: 337.9 kB / 1.12 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/1.102, allocations: 269.8 kB / 1.12 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/1.103, allocations: 363 kB / 1.121 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.104, allocations: 0.6149 MB / 1.121 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/1.104, allocations: 0 / 1.121 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002074/1.106, allocations: 0.8564 MB / 1.122 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.106, allocations: 5.719 kB / 1.122 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.106, allocations: 11.92 kB / 1.122 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/1.107, allocations: 88.8 kB / 1.122 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/1.107, allocations: 151.8 kB / 1.122 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/1.11, allocations: 1.646 MB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.111, allocations: 93.92 kB / 1.124 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.992e-05/1.111, allocations: 31.97 kB / 1.124 GB, free: 13.63 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.0008691/1.112, allocations: 299.3 kB / 1.124 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/1.112, allocations: 102.7 kB / 1.125 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002905/1.115, allocations: 1.078 MB / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.115, allocations: 8 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/1.115, allocations: 7.938 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/1.115, allocations: 3.984 kB / 1.126 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/1.117, allocations: 1.001 MB / 1.127 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.117, allocations: 0 / 1.127 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/1.118, allocations: 147.7 kB / 1.127 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/1.118, allocations: 68.8 kB / 1.127 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/1.118, allocations: 27.97 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/1.12, allocations: 1.67 MB / 1.128 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.12, allocations: 0 / 1.128 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/1.123, allocations: 0.9394 MB / 1.129 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/1.123, allocations: 299.4 kB / 1.13 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/1.123, allocations: 20.06 kB / 1.13 GB, free: 7.715 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/1.124, allocations: 63.94 kB / 1.13 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.124, allocations: 72.83 kB / 1.13 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/1.124, allocations: 35.98 kB / 1.13 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008411/1.125, allocations: 0.5542 MB / 1.13 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.125, allocations: 0 / 1.13 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009889/1.126, allocations: 331.1 kB / 1.131 GB, free: 6.656 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.001612/1.128, allocations: 0.5993 MB / 1.131 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002767/1.13, allocations: 1.026 MB / 1.132 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.13, allocations: 4 kB / 1.132 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.131, allocations: 0.5161 MB / 1.133 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.133, allocations: 461.3 kB / 1.133 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/1.139, allocations: 2.538 MB / 1.136 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008922/1.14, allocations: 1.098 MB / 1.137 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001185/1.141, allocations: 283.6 kB / 1.137 GB, free: 280 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/1.141, allocations: 115.4 kB / 1.137 GB, free: 164 kB / 0.8887 GB Notification: Performance of SimCode: time 1.303e-06/1.141, allocations: 0 / 1.137 GB, free: 164 kB / 0.8887 GB Notification: Performance of Templates: time 0.03325/1.175, allocations: 16.83 MB / 1.154 GB, free: 15.48 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