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.001585/0.001586, allocations: 100.1 kB / 15.88 MB, free: 12 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.001612/0.001613, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.358/1.358, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.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.651/2.651, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 71.88 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.6371, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007807/0.645, allocations: 5.605 MB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.156/0.801, allocations: 148.6 MB / 1.168 GB, free: 8.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.8021, allocations: 27.88 kB / 1.168 GB, free: 8.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.8032, allocations: 290.1 kB / 1.168 GB, free: 7.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.8053, allocations: 489.8 kB / 1.169 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.8076, allocations: 0.755 MB / 1.169 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.8097, allocations: 1.449 MB / 1.171 GB, free: 5.051 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.8109, allocations: 0.7472 MB / 1.171 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007939/0.8117, allocations: 474 kB / 1.172 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.8123, allocations: 0.5324 MB / 1.172 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.8124, allocations: 64 kB / 1.173 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008455/0.8133, allocations: 407.6 kB / 1.173 GB, free: 2.809 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.8135, allocations: 266.8 kB / 1.173 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005792/0.8141, allocations: 0.6019 MB / 1.174 GB, free: 1.941 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.8155, allocations: 1.419 MB / 1.175 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8155, allocations: 0 / 1.175 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8155, allocations: 0 / 1.175 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.8155, allocations: 8 kB / 1.175 GB, free: 0.5117 MB / 0.92 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.002875/0.8184, allocations: 1.675 MB / 1.177 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.8185, allocations: 8.031 kB / 1.177 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/0.8194, allocations: 207.1 kB / 1.177 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.8206, allocations: 0.8983 MB / 1.178 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.516e-05/0.8207, allocations: 74 kB / 1.178 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.8208, allocations: 99.94 kB / 1.178 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.8227, allocations: 1.035 MB / 1.179 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.8227, allocations: 3.938 kB / 1.179 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/0.8228, allocations: 40 kB / 1.179 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.8228, allocations: 27.98 kB / 1.179 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.8246, allocations: 1.163 MB / 1.18 GB, free: 11.14 MB / 0.9356 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.004245/0.8289, allocations: 3.04 MB / 1.183 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.8303, allocations: 0.802 MB / 1.184 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.8308, allocations: 298.7 kB / 1.184 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/0.8309, allocations: 24.61 kB / 1.184 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009285/0.8319, allocations: 494.8 kB / 1.185 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 2.304e-06/0.8319, allocations: 4 kB / 1.185 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.003109/0.835, allocations: 1.209 MB / 1.186 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.8351, allocations: 192.6 kB / 1.186 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009966/0.8361, allocations: 0.7951 MB / 1.187 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.8362, allocations: 45.7 kB / 1.187 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003949/0.8366, allocations: 0.5078 MB / 1.187 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.8368, allocations: 248.3 kB / 1.188 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.837, allocations: 166.5 kB / 1.188 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.8372, allocations: 333.9 kB / 1.188 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/0.8377, allocations: 269.9 kB / 1.188 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.8383, allocations: 355.1 kB / 1.189 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.8394, allocations: 0.6072 MB / 1.189 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8394, allocations: 8 kB / 1.189 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001927/0.8413, allocations: 0.8641 MB / 1.19 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.8414, allocations: 5.094 kB / 1.19 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8414, allocations: 0 / 1.19 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006096/0.842, allocations: 84.81 kB / 1.19 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006397/0.8427, allocations: 159.8 kB / 1.19 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.8448, allocations: 1.546 MB / 1.192 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.8456, allocations: 91.31 kB / 1.192 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.8457, allocations: 39.97 kB / 1.192 GB, free: 14.58 MB / 0.9512 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.0004855/0.8462, allocations: 289 kB / 1.192 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.8464, allocations: 102.7 kB / 1.192 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.8487, allocations: 1.086 MB / 1.194 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.098e-06/0.8488, allocations: 8.047 kB / 1.194 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.8488, allocations: 3.984 kB / 1.194 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.8488, allocations: 3.984 kB / 1.194 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.85, allocations: 1.005 MB / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.85, allocations: 0 / 1.195 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.8506, allocations: 143.8 kB / 1.195 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005202/0.8511, allocations: 84.77 kB / 1.195 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/0.8512, allocations: 23.98 kB / 1.195 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.853, allocations: 1.559 MB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.853, allocations: 0 / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.855, allocations: 0.9432 MB / 1.197 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/0.8554, allocations: 287.5 kB / 1.197 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.8556, allocations: 16 kB / 1.197 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.8562, allocations: 71.78 kB / 1.198 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.8564, allocations: 68.89 kB / 1.198 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/0.8565, allocations: 35.98 kB / 1.198 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007742/0.8573, allocations: 0.5542 MB / 1.198 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8573, allocations: 0 / 1.198 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009208/0.8582, allocations: 351 kB / 1.199 GB, free: 7.703 MB / 0.9512 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.001435/0.8596, allocations: 0.6031 MB / 1.199 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001685/0.8613, allocations: 0.8275 MB / 1.2 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/0.8614, allocations: 4 kB / 1.2 GB, free: 6.426 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009352/0.8623, allocations: 0.5003 MB / 1.2 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.8639, allocations: 435.7 kB / 1.201 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/0.8678, allocations: 2.471 MB / 1.203 GB, free: 2.992 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/0.8685, allocations: 1.094 MB / 1.204 GB, free: 1.875 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.8688, allocations: 123.4 kB / 1.204 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.8688, allocations: 0 / 1.204 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of Templates: time 0.02997/0.8988, allocations: 22.26 MB / 1.226 GB, free: 11.53 MB / 0.9825 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 -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