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.001034/0.001034, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008096/0.008096, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.404/1.404, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.893/2.893, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004938, allocations: 8.188 kB / 0.9027 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3952, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006103/0.4014, allocations: 5.156 MB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1678/0.5692, allocations: 147 MB / 1.207 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008517/0.5701, allocations: 27.81 kB / 1.207 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007255/0.5708, allocations: 290.1 kB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.573, allocations: 495.6 kB / 1.208 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.5756, allocations: 0.7559 MB / 1.209 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002374/0.578, allocations: 1.449 MB / 1.21 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.5791, allocations: 0.7277 MB / 1.211 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006727/0.5798, allocations: 389.9 kB / 1.211 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.5804, allocations: 441.3 kB / 1.212 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.033e-05/0.5804, allocations: 28 kB / 1.212 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009185/0.5814, allocations: 371.7 kB / 1.212 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.5816, allocations: 210.9 kB / 1.212 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.5821, allocations: 0.5528 MB / 1.213 GB, free: 6.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.5838, allocations: 1.74 MB / 1.214 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5839, allocations: 0 / 1.214 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5839, allocations: 7.938 kB / 1.214 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.5839, allocations: 0 / 1.214 GB, free: 4.801 MB / 0.9669 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.002568/0.5865, allocations: 1.421 MB / 1.216 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5865, allocations: 15.95 kB / 1.216 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009903/0.5875, allocations: 223.1 kB / 1.216 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.5888, allocations: 0.8905 MB / 1.217 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-05/0.5889, allocations: 74 kB / 1.217 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.589, allocations: 96 kB / 1.217 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.5907, allocations: 1.036 MB / 1.218 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.5908, allocations: 0 / 1.218 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/0.5909, allocations: 40 kB / 1.218 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.5909, allocations: 24 kB / 1.218 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.5927, allocations: 1.179 MB / 1.219 GB, free: 15.67 MB / 0.9825 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.004504/0.5972, allocations: 3.077 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.5987, allocations: 0.8051 MB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/0.5992, allocations: 310.6 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.718e-05/0.5993, allocations: 28.62 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008349/0.6001, allocations: 0.4913 MB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 3.927e-06/0.6001, allocations: 4 kB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.002965/0.6031, allocations: 1.225 MB / 1.225 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.6032, allocations: 188.6 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009837/0.6042, allocations: 0.7913 MB / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.6043, allocations: 41.7 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.6047, allocations: 0.5039 MB / 1.227 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.6049, allocations: 260.3 kB / 1.227 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.145e-05/0.605, allocations: 69.67 kB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6051, allocations: 337.9 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.6056, allocations: 269.9 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.6062, allocations: 371.1 kB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.6073, allocations: 0.615 MB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6073, allocations: 0 / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001834/0.6091, allocations: 0.8681 MB / 1.229 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6092, allocations: 8 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6092, allocations: 0 / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/0.6098, allocations: 84.81 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/0.6104, allocations: 159.8 kB / 1.23 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.6125, allocations: 1.539 MB / 1.231 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008326/0.6133, allocations: 107.3 kB / 1.231 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/0.6134, allocations: 39.97 kB / 1.231 GB, free: 3.078 MB / 0.9825 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.000552/0.614, allocations: 287.4 kB / 1.231 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.6142, allocations: 102.7 kB / 1.232 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.6166, allocations: 1.09 MB / 1.233 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.6167, allocations: 11.94 kB / 1.233 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6167, allocations: 0 / 1.233 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6167, allocations: 7.969 kB / 1.233 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.6181, allocations: 0.9978 MB / 1.234 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.6181, allocations: 4 kB / 1.234 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006061/0.6187, allocations: 143.8 kB / 1.234 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005513/0.6193, allocations: 84.77 kB / 1.234 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/0.6194, allocations: 23.98 kB / 1.234 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.6212, allocations: 1.563 MB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6213, allocations: 4.031 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.6232, allocations: 0.9549 MB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004713/0.6237, allocations: 303.4 kB / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.6239, allocations: 20 kB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007404/0.6247, allocations: 80.48 kB / 1.237 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.6248, allocations: 64.91 kB / 1.237 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-05/0.6249, allocations: 39.97 kB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008284/0.6257, allocations: 0.5581 MB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6258, allocations: 0 / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009945/0.6268, allocations: 347 kB / 1.238 GB, free: 12.16 MB / 0.9981 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.001499/0.6283, allocations: 0.6024 MB / 1.238 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.63, allocations: 0.8314 MB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.63, allocations: 4 kB / 1.239 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009501/0.631, allocations: 0.5158 MB / 1.24 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.6329, allocations: 427.6 kB / 1.24 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.6369, allocations: 2.452 MB / 1.242 GB, free: 7.457 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/0.6377, allocations: 1.102 MB / 1.243 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009499/0.6387, allocations: 283.7 kB / 1.244 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.639, allocations: 115.3 kB / 1.244 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/0.639, allocations: 0 / 1.244 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of Templates: time 0.5871/1.226, allocations: 16.56 MB / 1.26 GB, free: 185.8 MB / 0.9981 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 -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/jenkins/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