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.001727/0.001727, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002001/0.002001, allocations: 193.9 kB / 16.25 MB, free: 6.621 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.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.766/2.766, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003156/0.003157, allocations: 63.89 kB / 0.8687 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.624/0.6272, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007886/0.6351, allocations: 5.609 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1833/0.8185, allocations: 148.6 MB / 1.167 GB, free: 7.848 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.8196, allocations: 23.81 kB / 1.167 GB, free: 7.824 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.8209, allocations: 314.1 kB / 1.168 GB, free: 7.516 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.8232, allocations: 0.4971 MB / 1.168 GB, free: 7.02 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.8255, allocations: 0.7726 MB / 1.169 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002188/0.8277, allocations: 1.554 MB / 1.171 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.829, allocations: 0.7713 MB / 1.171 GB, free: 3.891 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007932/0.8298, allocations: 0.5371 MB / 1.172 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006798/0.8305, allocations: 0.5715 MB / 1.172 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.8307, allocations: 132 kB / 1.172 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009811/0.8317, allocations: 467.6 kB / 1.173 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.832, allocations: 338.8 kB / 1.173 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.8327, allocations: 0.6683 MB / 1.174 GB, free: 1.188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002607/0.8353, allocations: 1.857 MB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.8354, allocations: 0 / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.166e-06/0.8354, allocations: 0 / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.643e-05/0.8354, allocations: 0 / 1.176 GB, free: 15.32 MB / 0.9356 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.003292/0.8387, allocations: 1.686 MB / 1.177 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.8388, allocations: 12.03 kB / 1.177 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.8398, allocations: 211 kB / 1.178 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.8412, allocations: 0.8905 MB / 1.178 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.277e-05/0.8413, allocations: 77.98 kB / 1.179 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.8415, allocations: 96 kB / 1.179 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.8434, allocations: 1.032 MB / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.8434, allocations: 0 / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.8435, allocations: 44 kB / 1.18 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.8435, allocations: 24 kB / 1.18 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001994/0.8455, allocations: 1.171 MB / 1.181 GB, free: 9.945 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.005008/0.8506, allocations: 3.052 MB / 1.184 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.8522, allocations: 0.7972 MB / 1.185 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.8528, allocations: 298.7 kB / 1.185 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.859e-05/0.8529, allocations: 28.61 kB / 1.185 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009448/0.8538, allocations: 491.2 kB / 1.185 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 2.434e-06/0.8538, allocations: 0 / 1.185 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.003304/0.8571, allocations: 1.209 MB / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.8573, allocations: 188.6 kB / 1.187 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.8583, allocations: 0.799 MB / 1.188 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.747e-05/0.8584, allocations: 41.69 kB / 1.188 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/0.8589, allocations: 0.5079 MB / 1.188 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.8591, allocations: 256.3 kB / 1.188 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.8594, allocations: 154.5 kB / 1.188 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.8596, allocations: 341.9 kB / 1.189 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.8601, allocations: 269.8 kB / 1.189 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.8608, allocations: 359.1 kB / 1.189 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.862, allocations: 0.6033 MB / 1.19 GB, free: 312 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.862, allocations: 4 kB / 1.19 GB, free: 308 kB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002067/0.8641, allocations: 0.8603 MB / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.8641, allocations: 4 kB / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.8641, allocations: 0 / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.8647, allocations: 92.73 kB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.8654, allocations: 151.8 kB / 1.191 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.8678, allocations: 1.657 MB / 1.193 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.8686, allocations: 95.38 kB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/0.8687, allocations: 36.03 kB / 1.193 GB, free: 13.26 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.0005112/0.8692, allocations: 299.3 kB / 1.193 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.8694, allocations: 102.7 kB / 1.193 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.8719, allocations: 1.082 MB / 1.194 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.872, allocations: 12 kB / 1.194 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.872, allocations: 3.938 kB / 1.194 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.872, allocations: 7.969 kB / 1.194 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.8733, allocations: 0.998 MB / 1.195 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8733, allocations: 4 kB / 1.195 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.8739, allocations: 139.8 kB / 1.195 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.8744, allocations: 72.78 kB / 1.195 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.8745, allocations: 23.98 kB / 1.195 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/0.8766, allocations: 1.677 MB / 1.197 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.8767, allocations: 0 / 1.197 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.8788, allocations: 0.9433 MB / 1.198 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004535/0.8792, allocations: 283.7 kB / 1.198 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.8794, allocations: 27.91 kB / 1.198 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.8801, allocations: 71.84 kB / 1.198 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.8803, allocations: 72.84 kB / 1.198 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.8803, allocations: 35.97 kB / 1.198 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008659/0.8812, allocations: 0.5542 MB / 1.199 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8812, allocations: 0 / 1.199 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001016/0.8822, allocations: 339.1 kB / 1.199 GB, free: 6.262 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.002/0.8843, allocations: 0.6115 MB / 1.2 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002666/0.8869, allocations: 1.015 MB / 1.201 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.887, allocations: 4.125 kB / 1.201 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.888, allocations: 0.5119 MB / 1.201 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.89, allocations: 481.5 kB / 1.202 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.8941, allocations: 2.431 MB / 1.204 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009092/0.895, allocations: 1.102 MB / 1.205 GB, free: 256 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001015/0.896, allocations: 279.8 kB / 1.206 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.8964, allocations: 107.4 kB / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of SimCode: time 8.21e-07/0.8964, allocations: 0 / 1.206 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of Templates: time 0.0336/0.93, allocations: 17.27 MB / 1.223 GB, free: 14.78 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=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