Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001683/0.001683, allocations: 117.8 kB / 16.37 MB, free: 6.004 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.001564/0.001564, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.208/1.208, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.236/2.236, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 65.92 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2526, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006147/0.2588, allocations: 5.638 MB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5602/0.819, allocations: 150.9 MB / 1.172 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008678/0.8199, allocations: 22.44 kB / 1.172 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006932/0.8206, allocations: 360 kB / 1.172 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/0.822, allocations: 0.5636 MB / 1.173 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.8237, allocations: 0.8783 MB / 1.173 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.825, allocations: 1.562 MB / 1.175 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008951/0.8259, allocations: 0.766 MB / 1.176 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005654/0.8265, allocations: 0.5292 MB / 1.176 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000727/0.8272, allocations: 0.5735 MB / 1.177 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002154/0.8274, allocations: 132 kB / 1.177 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.829, allocations: 0.4949 MB / 1.177 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.8295, allocations: 334.3 kB / 1.178 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007539/0.8302, allocations: 0.6619 MB / 1.178 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.8329, allocations: 1.912 MB / 1.18 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.8329, allocations: 0 / 1.18 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8329, allocations: 0 / 1.18 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.8329, allocations: 0 / 1.18 GB, free: 10.31 MB / 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.002427/0.8353, allocations: 1.687 MB / 1.182 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.8354, allocations: 10.8 kB / 1.182 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008259/0.8362, allocations: 209.2 kB / 1.182 GB, free: 8.891 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.8374, allocations: 0.9102 MB / 1.183 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-05/0.8375, allocations: 75.44 kB / 1.183 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.8376, allocations: 105.2 kB / 1.183 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.8391, allocations: 1.033 MB / 1.184 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.8391, allocations: 0 / 1.184 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.8392, allocations: 41.56 kB / 1.184 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.8392, allocations: 24.69 kB / 1.184 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.8409, allocations: 1.168 MB / 1.185 GB, free: 6.848 MB / 0.8887 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.003657/0.8445, allocations: 3.003 MB / 1.188 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.8459, allocations: 0.796 MB / 1.189 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.8463, allocations: 297.6 kB / 1.189 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.001e-05/0.8464, allocations: 27.69 kB / 1.189 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007409/0.8472, allocations: 498.3 kB / 1.19 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=78): time 1.853e-06/0.8472, allocations: 5.156 kB / 1.19 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of matching and sorting (n=78): time 0.002637/0.8498, allocations: 1.207 MB / 1.191 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/0.8499, allocations: 192.4 kB / 1.191 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.8507, allocations: 0.7957 MB / 1.192 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/0.8508, allocations: 43.14 kB / 1.192 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.8511, allocations: 0.5053 MB / 1.193 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.8513, allocations: 252.2 kB / 1.193 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.8515, allocations: 170 kB / 1.193 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8516, allocations: 337.9 kB / 1.193 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.852, allocations: 260.8 kB / 1.193 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.8526, allocations: 358.5 kB / 1.194 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/0.8535, allocations: 0.6046 MB / 1.194 GB, free: 428 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8535, allocations: 0 / 1.194 GB, free: 428 kB / 0.8887 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00167/0.8552, allocations: 0.8649 MB / 1.195 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.8552, allocations: 4.719 kB / 1.195 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8552, allocations: 6.219 kB / 1.195 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/0.8558, allocations: 75.56 kB / 1.195 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.8564, allocations: 166.2 kB / 1.195 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.8582, allocations: 1.637 MB / 1.197 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006225/0.8588, allocations: 99.61 kB / 1.197 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/0.8589, allocations: 38.97 kB / 1.197 GB, free: 14.2 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.0003506/0.8592, allocations: 297.2 kB / 1.198 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.8594, allocations: 98.59 kB / 1.198 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.8614, allocations: 1.073 MB / 1.199 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8614, allocations: 11.25 kB / 1.199 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.8614, allocations: 2.844 kB / 1.199 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.8615, allocations: 11.91 kB / 1.199 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000939/0.8624, allocations: 0.9982 MB / 1.2 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.8624, allocations: 0 / 1.2 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/0.8629, allocations: 140.5 kB / 1.2 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003807/0.8633, allocations: 78.58 kB / 1.2 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.8634, allocations: 26.7 kB / 1.2 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/0.865, allocations: 1.674 MB / 1.202 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.865, allocations: 0 / 1.202 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.8666, allocations: 0.9438 MB / 1.202 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/0.867, allocations: 282.4 kB / 1.203 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.8671, allocations: 22.94 kB / 1.203 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/0.8676, allocations: 66.67 kB / 1.203 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.8678, allocations: 69.53 kB / 1.203 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.8679, allocations: 34.34 kB / 1.203 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005879/0.8685, allocations: 0.5669 MB / 1.203 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8685, allocations: 2.281 kB / 1.203 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007771/0.8692, allocations: 343.6 kB / 1.204 GB, free: 9.551 MB / 0.9044 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.001176/0.8704, allocations: 0.6091 MB / 1.204 GB, free: 9.262 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.8718, allocations: 0.8141 MB / 1.205 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8718, allocations: 2.406 kB / 1.205 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007888/0.8726, allocations: 0.5161 MB / 1.206 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.874, allocations: 475.5 kB / 1.206 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.8766, allocations: 1.913 MB / 1.208 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.8772, allocations: 1.108 MB / 1.209 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006786/0.8779, allocations: 287.7 kB / 1.209 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.8781, allocations: 103.4 kB / 1.209 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.8781, allocations: 0 / 1.209 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of Templates: time 0.02529/0.9034, allocations: 17.38 MB / 1.226 GB, free: 3.734 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches