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.0009819/0.000982, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.0009051/0.0009051, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.191/2.191, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 69.41 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2559, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00616/0.2621, allocations: 5.621 MB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.5554/0.8174, allocations: 150.9 MB / 1.18 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008206/0.8183, allocations: 29.91 kB / 1.18 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006785/0.819, allocations: 359.3 kB / 1.18 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.8204, allocations: 0.5656 MB / 1.18 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.822, allocations: 0.8735 MB / 1.181 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001258/0.8233, allocations: 1.56 MB / 1.183 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009256/0.8242, allocations: 0.7669 MB / 1.184 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.8248, allocations: 0.5338 MB / 1.184 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005423/0.8253, allocations: 0.5703 MB / 1.185 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.8255, allocations: 132.3 kB / 1.185 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007196/0.8262, allocations: 498.3 kB / 1.185 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.8265, allocations: 338.6 kB / 1.186 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004881/0.827, allocations: 0.6702 MB / 1.186 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.8286, allocations: 1.912 MB / 1.188 GB, free: 332 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8286, allocations: 0 / 1.188 GB, free: 332 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.333e-06/0.8286, allocations: 0 / 1.188 GB, free: 332 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.8286, allocations: 0 / 1.188 GB, free: 332 kB / 0.8887 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.002414/0.831, allocations: 1.683 MB / 1.19 GB, free: 15 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.8311, allocations: 8.75 kB / 1.19 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008162/0.8319, allocations: 220.4 kB / 1.19 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.8331, allocations: 0.9117 MB / 1.191 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.8332, allocations: 70.5 kB / 1.191 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.8333, allocations: 95.72 kB / 1.191 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.8348, allocations: 1.034 MB / 1.192 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.8348, allocations: 5.125 kB / 1.192 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.8349, allocations: 45.61 kB / 1.192 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.8349, allocations: 23.38 kB / 1.192 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.8365, allocations: 1.171 MB / 1.193 GB, free: 12.85 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/0.8402, allocations: 2.999 MB / 1.196 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.8414, allocations: 0.8003 MB / 1.197 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.8419, allocations: 301.5 kB / 1.197 GB, free: 9.906 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/0.842, allocations: 34.77 kB / 1.197 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006955/0.8427, allocations: 494.6 kB / 1.198 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=78): time 1.813e-06/0.8427, allocations: 4 kB / 1.198 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of matching and sorting (n=78): time 0.002616/0.8453, allocations: 1.2 MB / 1.199 GB, free: 8.918 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.8454, allocations: 192.9 kB / 1.199 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/0.8462, allocations: 0.8003 MB / 1.2 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.955e-05/0.8463, allocations: 38.7 kB / 1.2 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.8466, allocations: 0.5053 MB / 1.2 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.8468, allocations: 257 kB / 1.201 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.847, allocations: 159.8 kB / 1.201 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.8471, allocations: 337.5 kB / 1.201 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.8476, allocations: 271.2 kB / 1.201 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.8481, allocations: 358.4 kB / 1.202 GB, free: 6.746 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009323/0.849, allocations: 0.5998 MB / 1.202 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.849, allocations: 1.469 kB / 1.202 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001645/0.8507, allocations: 0.8678 MB / 1.203 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8507, allocations: 4.969 kB / 1.203 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8507, allocations: 2.781 kB / 1.203 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/0.8513, allocations: 83.08 kB / 1.203 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.8518, allocations: 153.9 kB / 1.203 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.8537, allocations: 1.645 MB / 1.205 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006347/0.8544, allocations: 95.58 kB / 1.205 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.089e-05/0.8544, allocations: 36.53 kB / 1.205 GB, free: 4.203 MB / 0.9044 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.0003762/0.8548, allocations: 292.1 kB / 1.205 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.855, allocations: 105.2 kB / 1.206 GB, free: 3.926 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.857, allocations: 1.071 MB / 1.207 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.8571, allocations: 10.09 kB / 1.207 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.8571, allocations: 7.172 kB / 1.207 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.8571, allocations: 7.922 kB / 1.207 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009377/0.858, allocations: 1.004 MB / 1.208 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.858, allocations: 4 kB / 1.208 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.8585, allocations: 140.4 kB / 1.208 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003726/0.8589, allocations: 68.03 kB / 1.208 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.859, allocations: 30.08 kB / 1.208 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.8606, allocations: 1.673 MB / 1.209 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8606, allocations: 0 / 1.209 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.8623, allocations: 0.9423 MB / 1.21 GB, free: 344 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/0.8626, allocations: 293 kB / 1.211 GB, free: 84 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.8628, allocations: 24.67 kB / 1.211 GB, free: 64 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.8633, allocations: 59.34 kB / 1.211 GB, free: 36 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.8634, allocations: 65.41 kB / 1.211 GB, free: 0 / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/0.8635, allocations: 38.22 kB / 1.211 GB, free: 15.98 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006003/0.8641, allocations: 0.5622 MB / 1.211 GB, free: 15.48 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8641, allocations: 0 / 1.211 GB, free: 15.48 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007968/0.8649, allocations: 343 kB / 1.212 GB, free: 15.14 MB / 0.92 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.001212/0.8661, allocations: 0.6023 MB / 1.212 GB, free: 14.72 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.8676, allocations: 0.8285 MB / 1.213 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8676, allocations: 0 / 1.213 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008113/0.8684, allocations: 0.512 MB / 1.214 GB, free: 13.36 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.8697, allocations: 469.3 kB / 1.214 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.8723, allocations: 1.917 MB / 1.216 GB, free: 10.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.8729, allocations: 1.094 MB / 1.217 GB, free: 9.867 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006882/0.8736, allocations: 295.6 kB / 1.217 GB, free: 9.574 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.8738, allocations: 115.4 kB / 1.217 GB, free: 9.461 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.8738, allocations: 0 / 1.217 GB, free: 9.461 MB / 0.92 GB Notification: Performance of Templates: time 0.02408/0.8979, allocations: 17.37 MB / 1.234 GB, free: 8.25 MB / 0.9356 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 -s cvode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches