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.001313/0.001313, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001793/0.001793, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.3 MB / 240 MB, free: 5.281 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.899/2.899, allocations: 437.7 MB / 0.7117 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004395, allocations: 12 kB / 0.8722 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7987, allocations: 153.8 MB / 1.022 GB, free: 16 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007446/0.8062, allocations: 4.877 MB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1821/0.9883, allocations: 137.1 MB / 1.161 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009759/0.9894, allocations: 23.81 kB / 1.161 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.9901, allocations: 270.1 kB / 1.161 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.9919, allocations: 473.5 kB / 1.162 GB, free: 0.8867 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.9938, allocations: 0.6514 MB / 1.162 GB, free: 248 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.9956, allocations: 1.339 MB / 1.164 GB, free: 14.9 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009325/0.9965, allocations: 0.5438 MB / 1.164 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006746/0.9972, allocations: 374.2 kB / 1.165 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/0.9977, allocations: 415.2 kB / 1.165 GB, free: 13.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.205e-05/0.9978, allocations: 28 kB / 1.165 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000824/0.9987, allocations: 343.7 kB / 1.165 GB, free: 13.2 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.9989, allocations: 207 kB / 1.166 GB, free: 13 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.9991, allocations: 241 kB / 1.166 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/1.001, allocations: 1.391 MB / 1.167 GB, free: 11.36 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.001, allocations: 0 / 1.167 GB, free: 11.36 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.384e-06/1.001, allocations: 0 / 1.167 GB, free: 11.36 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.82e-05/1.001, allocations: 0 / 1.167 GB, free: 11.36 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.002377/1.003, allocations: 1.429 MB / 1.169 GB, free: 9.879 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.003, allocations: 12.56 kB / 1.169 GB, free: 9.867 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008752/1.004, allocations: 226.1 kB / 1.169 GB, free: 9.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/1.005, allocations: 0.8477 MB / 1.17 GB, free: 8.754 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/1.005, allocations: 74 kB / 1.17 GB, free: 8.684 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/1.005, allocations: 99.98 kB / 1.17 GB, free: 8.586 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/1.007, allocations: 1.024 MB / 1.171 GB, free: 7.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/1.007, allocations: 4 kB / 1.171 GB, free: 7.516 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/1.007, allocations: 40 kB / 1.171 GB, free: 7.477 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/1.007, allocations: 31.94 kB / 1.171 GB, free: 7.445 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/1.009, allocations: 1.167 MB / 1.172 GB, free: 6.281 MB / 0.92 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.004977/1.014, allocations: 3.081 MB / 1.175 GB, free: 3.082 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/1.016, allocations: 0.7924 MB / 1.176 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/1.017, allocations: 306.7 kB / 1.176 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-05/1.017, allocations: 28.61 kB / 1.176 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/1.018, allocations: 0.4913 MB / 1.177 GB, free: 1.445 MB / 0.92 GB Notification: Performance of pre-optimization done (n=78): time 3.787e-06/1.018, allocations: 0 / 1.177 GB, free: 1.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=78): time 0.003074/1.021, allocations: 1.215 MB / 1.178 GB, free: 208 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/1.021, allocations: 196.5 kB / 1.178 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.022, allocations: 0.7872 MB / 1.179 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.411e-05/1.022, allocations: 41.7 kB / 1.179 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/1.023, allocations: 0.5 MB / 1.179 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/1.023, allocations: 264.4 kB / 1.179 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/1.023, allocations: 12 kB / 1.179 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.023, allocations: 334 kB / 1.18 GB, free: 14 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/1.024, allocations: 265.9 kB / 1.18 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005802/1.024, allocations: 371 kB / 1.18 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/1.025, allocations: 302.9 kB / 1.181 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.025, allocations: 0 / 1.181 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001833/1.027, allocations: 0.8642 MB / 1.182 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/1.027, allocations: 15.89 kB / 1.182 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.027, allocations: 0 / 1.182 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/1.027, allocations: 84.86 kB / 1.182 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006443/1.028, allocations: 159.8 kB / 1.182 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/1.03, allocations: 1.536 MB / 1.183 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/1.031, allocations: 107.9 kB / 1.183 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.139e-05/1.031, allocations: 35.97 kB / 1.183 GB, free: 10.12 MB / 0.9356 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006171/1.032, allocations: 295.4 kB / 1.184 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.032, allocations: 110.6 kB / 1.184 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/1.034, allocations: 1.086 MB / 1.185 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.034, allocations: 12 kB / 1.185 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.034, allocations: 4 kB / 1.185 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.034, allocations: 3.984 kB / 1.185 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/1.036, allocations: 1.001 MB / 1.186 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.036, allocations: 0 / 1.186 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/1.036, allocations: 139.8 kB / 1.186 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004878/1.037, allocations: 92.75 kB / 1.186 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/1.037, allocations: 27.98 kB / 1.186 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/1.039, allocations: 1.552 MB / 1.188 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.039, allocations: 7.969 kB / 1.188 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/1.041, allocations: 0.9471 MB / 1.189 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/1.041, allocations: 303.4 kB / 1.189 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.041, allocations: 16 kB / 1.189 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005704/1.042, allocations: 83.92 kB / 1.189 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.042, allocations: 72.86 kB / 1.189 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/1.042, allocations: 35.97 kB / 1.189 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008186/1.043, allocations: 0.5464 MB / 1.19 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.043, allocations: 0 / 1.19 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001019/1.044, allocations: 347 kB / 1.19 GB, free: 3.195 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001485/1.046, allocations: 0.6044 MB / 1.19 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001832/1.047, allocations: 0.8235 MB / 1.191 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.047, allocations: 0 / 1.191 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008414/1.048, allocations: 0.5198 MB / 1.192 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.05, allocations: 402.7 kB / 1.192 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/1.054, allocations: 2.377 MB / 1.195 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007734/1.055, allocations: 1.102 MB / 1.196 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001033/1.056, allocations: 291.6 kB / 1.196 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/1.056, allocations: 111.4 kB / 1.196 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of SimCode: time 9.32e-07/1.056, allocations: 0 / 1.196 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of Templates: time 0.03049/1.087, allocations: 16.07 MB / 1.212 GB, free: 13.16 MB / 0.9669 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/jenkins/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