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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 159.8 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.611/2.611, allocations: 359.1 MB / 0.6044 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 71.89 kB / 0.9515 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2811, allocations: 169.9 MB / 1.117 GB, free: 2.656 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007269/0.2884, allocations: 5.066 MB / 1.122 GB, free: 13.56 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.636/0.9244, allocations: 133 MB / 1.252 GB, free: 2.805 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00084/0.9252, allocations: 34.38 kB / 1.252 GB, free: 2.785 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008317/0.9261, allocations: 381.7 kB / 1.253 GB, free: 2.531 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.9277, allocations: 0.5787 MB / 1.253 GB, free: 2.191 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.9297, allocations: 0.9007 MB / 1.254 GB, free: 1.723 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.9314, allocations: 1.583 MB / 1.256 GB, free: 0.8828 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008068/0.9322, allocations: 496.5 kB / 1.256 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006712/0.9329, allocations: 0.56 MB / 1.257 GB, free: 312 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006545/0.9335, allocations: 0.5219 MB / 1.257 GB, free: 40 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.9337, allocations: 133.5 kB / 1.257 GB, free: 40 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009318/0.9346, allocations: 0.5013 MB / 1.258 GB, free: 15.93 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000353/0.935, allocations: 333.2 kB / 1.258 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005527/0.9355, allocations: 0.5361 MB / 1.259 GB, free: 15.38 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.9377, allocations: 1.978 MB / 1.261 GB, free: 14.53 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.9377, allocations: 0.6094 kB / 1.261 GB, free: 14.53 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9377, allocations: 1.094 kB / 1.261 GB, free: 14.53 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.9377, allocations: 0 / 1.261 GB, free: 14.53 MB / 1.123 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.002893/0.9406, allocations: 1.678 MB / 1.262 GB, free: 13.44 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.9406, allocations: 9.594 kB / 1.262 GB, free: 13.44 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.9421, allocations: 266.9 kB / 1.262 GB, free: 13.35 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.9437, allocations: 0.8416 MB / 1.263 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.369e-05/0.9437, allocations: 74.94 kB / 1.263 GB, free: 12.8 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.9439, allocations: 97.03 kB / 1.263 GB, free: 12.77 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.9458, allocations: 1.292 MB / 1.265 GB, free: 11.98 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.9459, allocations: 1.125 kB / 1.265 GB, free: 11.98 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/0.946, allocations: 42.55 kB / 1.265 GB, free: 11.95 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.946, allocations: 23.81 kB / 1.265 GB, free: 11.95 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.9479, allocations: 1.12 MB / 1.266 GB, free: 11.68 MB / 1.123 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.004216/0.9521, allocations: 2.353 MB / 1.268 GB, free: 10.31 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.9537, allocations: 0.7382 MB / 1.269 GB, free: 10.02 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.9542, allocations: 272.7 kB / 1.269 GB, free: 9.918 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.917e-05/0.9543, allocations: 25.61 kB / 1.269 GB, free: 9.914 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009595/0.9553, allocations: 0.6015 MB / 1.27 GB, free: 9.57 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 2.405e-06/0.9553, allocations: 0 / 1.27 GB, free: 9.57 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.003198/0.9585, allocations: 1.124 MB / 1.271 GB, free: 9.156 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.9586, allocations: 194.6 kB / 1.271 GB, free: 8.934 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.9596, allocations: 0.7505 MB / 1.272 GB, free: 8.617 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.9597, allocations: 47.45 kB / 1.272 GB, free: 8.57 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/0.9601, allocations: 0.5205 MB / 1.272 GB, free: 8.16 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.9604, allocations: 267.9 kB / 1.273 GB, free: 7.949 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.9606, allocations: 159.1 kB / 1.273 GB, free: 7.875 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.9608, allocations: 339.3 kB / 1.273 GB, free: 7.555 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005492/0.9613, allocations: 270.4 kB / 1.273 GB, free: 7.457 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.9621, allocations: 492.3 kB / 1.274 GB, free: 7.145 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.9633, allocations: 0.6023 MB / 1.274 GB, free: 6.859 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9633, allocations: 0 / 1.274 GB, free: 6.859 MB / 1.123 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002052/0.9653, allocations: 0.8625 MB / 1.275 GB, free: 6.508 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.9653, allocations: 5.656 kB / 1.275 GB, free: 6.508 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.9653, allocations: 5.062 kB / 1.275 GB, free: 6.504 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.966, allocations: 86.12 kB / 1.275 GB, free: 6.484 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.9666, allocations: 152.8 kB / 1.275 GB, free: 6.473 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.9688, allocations: 1.519 MB / 1.277 GB, free: 5.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/0.9695, allocations: 80.34 kB / 1.277 GB, free: 5.055 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/0.9696, allocations: 32.78 kB / 1.277 GB, free: 5.051 MB / 1.123 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.0004439/0.9701, allocations: 305.2 kB / 1.277 GB, free: 4.828 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.9702, allocations: 105.5 kB / 1.277 GB, free: 4.77 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.9727, allocations: 1.069 MB / 1.278 GB, free: 4.34 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.9727, allocations: 8.188 kB / 1.278 GB, free: 4.34 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.9727, allocations: 5 kB / 1.278 GB, free: 4.336 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.9727, allocations: 4.969 kB / 1.278 GB, free: 4.336 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.9738, allocations: 0.7212 MB / 1.279 GB, free: 3.965 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9738, allocations: 0 / 1.279 GB, free: 3.965 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.9744, allocations: 144 kB / 1.279 GB, free: 3.949 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/0.9749, allocations: 72.22 kB / 1.279 GB, free: 3.93 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/0.9749, allocations: 26 kB / 1.279 GB, free: 3.918 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.9769, allocations: 1.543 MB / 1.281 GB, free: 2.527 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9769, allocations: 1.406 kB / 1.281 GB, free: 2.527 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.979, allocations: 0.9456 MB / 1.282 GB, free: 2.113 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004283/0.9794, allocations: 212.7 kB / 1.282 GB, free: 1.992 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.9796, allocations: 18.55 kB / 1.282 GB, free: 1.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006433/0.9802, allocations: 60.73 kB / 1.282 GB, free: 1.969 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.9804, allocations: 70.27 kB / 1.282 GB, free: 1.961 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.789e-05/0.9805, allocations: 40.53 kB / 1.282 GB, free: 1.949 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007179/0.9812, allocations: 0.5283 MB / 1.283 GB, free: 1.727 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.9812, allocations: 0 / 1.283 GB, free: 1.727 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009857/0.9822, allocations: 360 kB / 1.283 GB, free: 1.621 MB / 1.123 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.002087/0.9842, allocations: 0.6368 MB / 1.284 GB, free: 1.383 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.9859, allocations: 0.7981 MB / 1.284 GB, free: 1.043 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9859, allocations: 0 / 1.284 GB, free: 1.043 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009573/0.9869, allocations: 499.4 kB / 1.285 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.9886, allocations: 458.2 kB / 1.285 GB, free: 0.6797 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.9921, allocations: 1.975 MB / 1.287 GB, free: 15.63 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.9927, allocations: 0.5113 MB / 1.288 GB, free: 15.49 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009134/0.9936, allocations: 290.3 kB / 1.288 GB, free: 15.4 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.9938, allocations: 118 kB / 1.288 GB, free: 15.38 MB / 1.139 GB Notification: Performance of SimCode: time 6.01e-07/0.9938, allocations: 0 / 1.288 GB, free: 15.38 MB / 1.139 GB Notification: Performance of Templates: time 0.02997/1.024, allocations: 17.71 MB / 1.306 GB, free: 7.602 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (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 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.40961893601343]