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.001084/0.001084, allocations: 107.9 kB / 16.36 MB, free: 6.285 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.001074/0.001075, allocations: 193.2 kB / 17.29 MB, free: 5.863 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.399/2.399, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 60.44 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.273, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007025/0.28, allocations: 5.632 MB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6286/0.9087, allocations: 150.9 MB / 1.172 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009501/0.9097, allocations: 23.19 kB / 1.172 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008391/0.9106, allocations: 368.1 kB / 1.172 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.9123, allocations: 0.5563 MB / 1.173 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.9143, allocations: 0.8855 MB / 1.173 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.9161, allocations: 1.557 MB / 1.175 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.9172, allocations: 0.7625 MB / 1.176 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006981/0.9179, allocations: 0.5369 MB / 1.176 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005722/0.9185, allocations: 0.5642 MB / 1.177 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/0.9187, allocations: 131.7 kB / 1.177 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009289/0.9196, allocations: 0.4941 MB / 1.177 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.9199, allocations: 339.1 kB / 1.178 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005568/0.9205, allocations: 0.6576 MB / 1.178 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.9225, allocations: 1.915 MB / 1.18 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.9225, allocations: 0 / 1.18 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9225, allocations: 1.156 kB / 1.18 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.175e-05/0.9226, allocations: 4 kB / 1.18 GB, free: 10.31 MB / 0.8887 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.002909/0.9255, allocations: 1.686 MB / 1.182 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.9255, allocations: 9.531 kB / 1.182 GB, free: 8.988 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.9264, allocations: 213 kB / 1.182 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.9278, allocations: 0.9107 MB / 1.183 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.29e-05/0.9279, allocations: 71.34 kB / 1.183 GB, free: 8.125 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.928, allocations: 99.12 kB / 1.183 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.9299, allocations: 1.041 MB / 1.184 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.9299, allocations: 0 / 1.184 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.93, allocations: 42.72 kB / 1.184 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.93, allocations: 23.28 kB / 1.184 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.9318, allocations: 1.168 MB / 1.185 GB, free: 6.848 MB / 0.8887 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.00434/0.9362, allocations: 2.998 MB / 1.188 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.9376, allocations: 0.7941 MB / 1.189 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005261/0.9382, allocations: 299.6 kB / 1.189 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/0.9382, allocations: 37.67 kB / 1.189 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008125/0.9391, allocations: 499 kB / 1.19 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=78): time 2.254e-06/0.9391, allocations: 2.344 kB / 1.19 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of matching and sorting (n=78): time 0.003027/0.9421, allocations: 1.198 MB / 1.191 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.9422, allocations: 202.6 kB / 1.191 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009293/0.9432, allocations: 0.7915 MB / 1.192 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.9432, allocations: 38.77 kB / 1.192 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.9436, allocations: 0.5065 MB / 1.192 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.9438, allocations: 263.1 kB / 1.193 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.9441, allocations: 156.2 kB / 1.193 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.9442, allocations: 337.7 kB / 1.193 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.9447, allocations: 272.2 kB / 1.193 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005904/0.9453, allocations: 359.1 kB / 1.194 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.9463, allocations: 0.6013 MB / 1.194 GB, free: 428 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.9464, allocations: 0 / 1.194 GB, free: 428 kB / 0.8887 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001935/0.9483, allocations: 0.8679 MB / 1.195 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.9483, allocations: 4.281 kB / 1.195 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.9484, allocations: 3.312 kB / 1.195 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.949, allocations: 83.58 kB / 1.195 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.9496, allocations: 151.2 kB / 1.195 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.9517, allocations: 1.647 MB / 1.197 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.9525, allocations: 89.81 kB / 1.197 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.9526, allocations: 34.69 kB / 1.197 GB, free: 14.21 MB / 0.9044 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.0004783/0.9531, allocations: 306.1 kB / 1.197 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.9533, allocations: 103.4 kB / 1.198 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.9556, allocations: 1.075 MB / 1.199 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.9556, allocations: 10.19 kB / 1.199 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.9556, allocations: 0 / 1.199 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.9556, allocations: 7.922 kB / 1.199 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.9568, allocations: 1.007 MB / 1.2 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.9569, allocations: 2.469 kB / 1.2 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005595/0.9574, allocations: 137.6 kB / 1.2 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004386/0.9579, allocations: 70.8 kB / 1.2 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.9579, allocations: 29.44 kB / 1.2 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.9599, allocations: 1.673 MB / 1.202 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.9599, allocations: 3.984 kB / 1.202 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.9619, allocations: 0.9437 MB / 1.202 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004937/0.9624, allocations: 287.7 kB / 1.203 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.9626, allocations: 25.97 kB / 1.203 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006906/0.9633, allocations: 61.12 kB / 1.203 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.9634, allocations: 70.36 kB / 1.203 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/0.9635, allocations: 34.23 kB / 1.203 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0007589/0.9643, allocations: 0.556 MB / 1.203 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9643, allocations: 6.031 kB / 1.203 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009383/0.9652, allocations: 347.2 kB / 1.204 GB, free: 9.555 MB / 0.9044 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.001361/0.9666, allocations: 0.5963 MB / 1.204 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.9683, allocations: 0.8285 MB / 1.205 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9683, allocations: 3.938 kB / 1.205 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009053/0.9692, allocations: 0.5118 MB / 1.206 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.9709, allocations: 473.3 kB / 1.206 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.9742, allocations: 1.913 MB / 1.208 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.975, allocations: 1.098 MB / 1.209 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000938/0.9759, allocations: 291.6 kB / 1.209 GB, free: 5.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.9762, allocations: 115.4 kB / 1.209 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of SimCode: time 8.01e-07/0.9763, allocations: 4 kB / 1.209 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of Templates: time 0.03059/1.007, allocations: 17.37 MB / 1.226 GB, free: 3.707 MB / 0.92 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 -s gbode -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/jenkins1/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