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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001647/0.001647, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002023/0.002023, allocations: 189.8 kB / 16.13 MB, free: 6.629 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.759/2.759, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 0.8686 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6238/0.6258, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00812/0.634, allocations: 5.609 MB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.8114, allocations: 148.6 MB / 1.167 GB, free: 7.973 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.8128, allocations: 27.81 kB / 1.167 GB, free: 7.945 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.814, allocations: 294.1 kB / 1.168 GB, free: 7.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.8161, allocations: 493.5 kB / 1.168 GB, free: 7.176 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.8181, allocations: 0.7516 MB / 1.169 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.82, allocations: 1.453 MB / 1.17 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.8211, allocations: 0.751 MB / 1.171 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007067/0.8218, allocations: 470 kB / 1.171 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006596/0.8225, allocations: 0.5363 MB / 1.172 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.8226, allocations: 64 kB / 1.172 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008869/0.8235, allocations: 407.7 kB / 1.172 GB, free: 2.727 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.8238, allocations: 266.8 kB / 1.173 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005647/0.8244, allocations: 0.598 MB / 1.173 GB, free: 1.863 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.8263, allocations: 1.799 MB / 1.175 GB, free: 60 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.8263, allocations: 11.92 kB / 1.175 GB, free: 48 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8263, allocations: 0 / 1.175 GB, free: 48 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.8263, allocations: 0 / 1.175 GB, free: 48 kB / 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.003048/0.8294, allocations: 1.678 MB / 1.177 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.8294, allocations: 8.031 kB / 1.177 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009931/0.8304, allocations: 215.1 kB / 1.177 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.8317, allocations: 0.8905 MB / 1.178 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.472e-05/0.8318, allocations: 78 kB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.832, allocations: 96 kB / 1.178 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.8338, allocations: 1.028 MB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.8339, allocations: 0 / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.834, allocations: 44 kB / 1.179 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.834, allocations: 24 kB / 1.179 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/0.836, allocations: 1.171 MB / 1.18 GB, free: 10.68 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.004773/0.8408, allocations: 3.034 MB / 1.183 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.8424, allocations: 0.7949 MB / 1.184 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005614/0.843, allocations: 298.7 kB / 1.184 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-05/0.8431, allocations: 32.61 kB / 1.184 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009822/0.844, allocations: 0.4912 MB / 1.185 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 2.755e-06/0.8441, allocations: 0 / 1.185 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.003321/0.8474, allocations: 1.209 MB / 1.186 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.8475, allocations: 192.6 kB / 1.186 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/0.8487, allocations: 0.7951 MB / 1.187 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.8488, allocations: 41.7 kB / 1.187 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/0.8492, allocations: 0.5039 MB / 1.187 GB, free: 3.039 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.8495, allocations: 252.3 kB / 1.187 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.8498, allocations: 162.5 kB / 1.188 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.8499, allocations: 341.9 kB / 1.188 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.8505, allocations: 265.9 kB / 1.188 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006691/0.8512, allocations: 359.1 kB / 1.189 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.8524, allocations: 0.6033 MB / 1.189 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8524, allocations: 0 / 1.189 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002078/0.8545, allocations: 0.868 MB / 1.19 GB, free: 172 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.8545, allocations: 11.94 kB / 1.19 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.8545, allocations: 0 / 1.19 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/0.8551, allocations: 84.81 kB / 1.19 GB, free: 72 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006891/0.8558, allocations: 159.8 kB / 1.19 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.8581, allocations: 1.539 MB / 1.192 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008027/0.8589, allocations: 95.31 kB / 1.192 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/0.859, allocations: 36.03 kB / 1.192 GB, free: 14.11 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.0005307/0.8595, allocations: 287.6 kB / 1.192 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.8597, allocations: 102.7 kB / 1.192 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.8623, allocations: 1.086 MB / 1.193 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.8623, allocations: 8 kB / 1.193 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.8623, allocations: 0 / 1.193 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.8624, allocations: 7.984 kB / 1.193 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.8637, allocations: 1.006 MB / 1.194 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8637, allocations: 0 / 1.194 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/0.8643, allocations: 143.8 kB / 1.194 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005464/0.8649, allocations: 88.7 kB / 1.194 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.8649, allocations: 23.98 kB / 1.194 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.867, allocations: 1.556 MB / 1.196 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.867, allocations: 0 / 1.196 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.8691, allocations: 0.9433 MB / 1.197 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.8695, allocations: 291.5 kB / 1.197 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.8697, allocations: 20 kB / 1.197 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006452/0.8703, allocations: 67.78 kB / 1.197 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.8705, allocations: 68.89 kB / 1.197 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-05/0.8706, allocations: 35.92 kB / 1.197 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008132/0.8714, allocations: 0.5542 MB / 1.198 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8714, allocations: 4 kB / 1.198 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009355/0.8724, allocations: 343.1 kB / 1.198 GB, free: 7.234 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.00196/0.8743, allocations: 0.6063 MB / 1.199 GB, free: 6.801 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00177/0.8761, allocations: 0.8275 MB / 1.2 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8761, allocations: 0 / 1.2 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.8771, allocations: 0.5042 MB / 1.2 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.8788, allocations: 432.1 kB / 1.201 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/0.8826, allocations: 2.423 MB / 1.203 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008075/0.8835, allocations: 1.102 MB / 1.204 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000929/0.8844, allocations: 283.7 kB / 1.204 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.8847, allocations: 115.4 kB / 1.204 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of SimCode: time 4.3e-07/0.8847, allocations: 0 / 1.204 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of Templates: time 0.03226/0.917, allocations: 16.68 MB / 1.221 GB, free: 0.543 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=400 -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