Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001254/0.001254, allocations: 104.2 kB / 15.99 MB, free: 5.891 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.001241/0.001241, allocations: 189.8 kB / 16.91 MB, free: 5.746 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.437/1.437, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 469.8 MB / 0.7427 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 66.12 kB / 0.9087 GB, free: 34.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3011, allocations: 159.2 MB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008139/0.3092, allocations: 5.601 MB / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1813/0.4906, allocations: 148.6 MB / 1.215 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.4919, allocations: 27.81 kB / 1.215 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.4933, allocations: 310.1 kB / 1.215 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.4961, allocations: 0.491 MB / 1.216 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.4985, allocations: 0.7823 MB / 1.216 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002312/0.5009, allocations: 1.554 MB / 1.218 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.5024, allocations: 0.7635 MB / 1.219 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.5035, allocations: 0.5332 MB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.5045, allocations: 0.5676 MB / 1.22 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003937/0.5049, allocations: 135.9 kB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.5062, allocations: 471.7 kB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000469/0.5067, allocations: 338.8 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009331/0.5076, allocations: 0.6644 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.5097, allocations: 1.442 MB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5097, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.425e-06/0.5097, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.5097, allocations: 0 / 1.223 GB, free: 11.69 MB / 0.9825 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.003048/0.5128, allocations: 1.678 MB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5128, allocations: 12.03 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.5138, allocations: 211.1 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5151, allocations: 0.8983 MB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.5152, allocations: 74 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.5153, allocations: 96 kB / 1.226 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.5172, allocations: 1.028 MB / 1.227 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.5172, allocations: 3.984 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-05/0.5173, allocations: 44 kB / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.5173, allocations: 28 kB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/0.5193, allocations: 1.171 MB / 1.228 GB, free: 6.316 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.004712/0.524, allocations: 3.038 MB / 1.231 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.5256, allocations: 0.8012 MB / 1.231 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.5262, allocations: 302.6 kB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.209e-05/0.5263, allocations: 28.61 kB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009075/0.5272, allocations: 499 kB / 1.232 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=78): time 5.069e-06/0.5272, allocations: 3.984 kB / 1.232 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=78): time 0.003286/0.5305, allocations: 1.209 MB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.5307, allocations: 188.6 kB / 1.234 GB, free: 60 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.5319, allocations: 0.7951 MB / 1.234 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.806e-05/0.5319, allocations: 41.7 kB / 1.234 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.5324, allocations: 0.5039 MB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.5327, allocations: 252.4 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.533, allocations: 166.5 kB / 1.235 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.5331, allocations: 341.9 kB / 1.236 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.5337, allocations: 261.9 kB / 1.236 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.5343, allocations: 363 kB / 1.236 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.5355, allocations: 0.5995 MB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5355, allocations: 0 / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002082/0.5376, allocations: 0.8641 MB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.5377, allocations: 8 kB / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5377, allocations: 0 / 1.238 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006681/0.5383, allocations: 84.81 kB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.539, allocations: 167.7 kB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.5414, allocations: 1.638 MB / 1.24 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008048/0.5423, allocations: 91.33 kB / 1.24 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.442e-05/0.5424, allocations: 36.03 kB / 1.24 GB, free: 9.645 MB / 0.9981 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.0005972/0.543, allocations: 299.6 kB / 1.24 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.5432, allocations: 110.7 kB / 1.24 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.5457, allocations: 1.07 MB / 1.241 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.5457, allocations: 8 kB / 1.241 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.5457, allocations: 7.938 kB / 1.241 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.5457, allocations: 3.984 kB / 1.241 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.547, allocations: 1.005 MB / 1.242 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.5471, allocations: 3.984 kB / 1.242 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.5476, allocations: 139.8 kB / 1.242 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/0.5481, allocations: 76.72 kB / 1.242 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.049e-05/0.5482, allocations: 27.97 kB / 1.242 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.5503, allocations: 1.678 MB / 1.244 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5503, allocations: 0 / 1.244 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.5524, allocations: 0.9432 MB / 1.245 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/0.5528, allocations: 295.5 kB / 1.245 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.5529, allocations: 23.98 kB / 1.245 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006153/0.5536, allocations: 57.81 kB / 1.245 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.5537, allocations: 76.83 kB / 1.245 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.137e-05/0.5538, allocations: 31.98 kB / 1.245 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007822/0.5546, allocations: 0.562 MB / 1.246 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5546, allocations: 0 / 1.246 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008921/0.5555, allocations: 343 kB / 1.246 GB, free: 2.637 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.001955/0.5575, allocations: 0.6005 MB / 1.247 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.56, allocations: 1.023 MB / 1.248 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.56, allocations: 4 kB / 1.248 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.561, allocations: 0.5198 MB / 1.248 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.5628, allocations: 471.8 kB / 1.249 GB, free: 216 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4505/1.013, allocations: 2.459 MB / 1.251 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007293/1.014, allocations: 1.097 MB / 1.252 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/1.015, allocations: 125.3 kB / 1.252 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of SimCode: time 7.01e-07/1.015, allocations: 0 / 1.252 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03659/1.051, allocations: 22.25 MB / 1.274 GB, free: 177.8 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches