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.001376/0.001376, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001646/0.001646, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.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 3.02/3.02, allocations: 476.8 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [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.002104/0.002104, allocations: 65.36 kB / 1.117 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3113, allocations: 170 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008945/0.3202, allocations: 5.723 MB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2028/0.523, allocations: 154.4 MB / 1.44 GB, free: 10.89 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.5244, allocations: 35.69 kB / 1.44 GB, free: 10.86 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.5255, allocations: 373.3 kB / 1.44 GB, free: 10.49 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.5275, allocations: 0.5863 MB / 1.441 GB, free: 9.902 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.5301, allocations: 0.9232 MB / 1.442 GB, free: 8.984 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002275/0.5324, allocations: 1.578 MB / 1.443 GB, free: 7.398 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009909/0.5334, allocations: 0.5106 MB / 1.444 GB, free: 6.852 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008539/0.5342, allocations: 0.5644 MB / 1.444 GB, free: 6.285 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007972/0.535, allocations: 0.5832 MB / 1.445 GB, free: 5.699 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.5352, allocations: 132 kB / 1.445 GB, free: 5.57 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.5364, allocations: 0.5308 MB / 1.445 GB, free: 5.039 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.5368, allocations: 342.8 kB / 1.446 GB, free: 4.703 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006799/0.5375, allocations: 0.6683 MB / 1.446 GB, free: 4.031 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.5401, allocations: 1.969 MB / 1.448 GB, free: 2.055 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.5401, allocations: 4 kB / 1.448 GB, free: 2.051 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5402, allocations: 0 / 1.448 GB, free: 2.051 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.5402, allocations: 3.938 kB / 1.448 GB, free: 2.047 MB / 1.139 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.003145/0.5433, allocations: 1.683 MB / 1.45 GB, free: 332 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5434, allocations: 12.03 kB / 1.45 GB, free: 320 kB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000196/0.5436, allocations: 156.4 kB / 1.45 GB, free: 156 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.5451, allocations: 263.8 kB / 1.45 GB, free: 15.89 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.5468, allocations: 0.8463 MB / 1.451 GB, free: 15.02 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.29e-05/0.5469, allocations: 74 kB / 1.451 GB, free: 14.95 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.547, allocations: 96 kB / 1.451 GB, free: 14.86 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.5489, allocations: 1.032 MB / 1.452 GB, free: 13.78 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.5489, allocations: 0 / 1.452 GB, free: 13.78 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.549, allocations: 43.98 kB / 1.452 GB, free: 13.74 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/0.5491, allocations: 24 kB / 1.452 GB, free: 13.71 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.5511, allocations: 1.167 MB / 1.454 GB, free: 12.55 MB / 1.154 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.00529/0.5564, allocations: 2.972 MB / 1.456 GB, free: 9.461 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.558, allocations: 0.7546 MB / 1.457 GB, free: 8.703 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.5586, allocations: 278.6 kB / 1.457 GB, free: 8.43 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.584e-05/0.5587, allocations: 28.61 kB / 1.457 GB, free: 8.402 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009738/0.5596, allocations: 499.2 kB / 1.458 GB, free: 7.895 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.294e-06/0.5596, allocations: 0 / 1.458 GB, free: 7.895 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003392/0.563, allocations: 1.134 MB / 1.459 GB, free: 6.75 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.5632, allocations: 196.6 kB / 1.459 GB, free: 6.516 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.5645, allocations: 0.8225 MB / 1.46 GB, free: 5.668 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.5646, allocations: 41.7 kB / 1.46 GB, free: 5.621 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005638/0.5651, allocations: 0.5242 MB / 1.461 GB, free: 5.09 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.5654, allocations: 261.8 kB / 1.461 GB, free: 4.832 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.5657, allocations: 142.6 kB / 1.461 GB, free: 4.688 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5659, allocations: 333.9 kB / 1.461 GB, free: 4.355 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.5664, allocations: 249.9 kB / 1.462 GB, free: 4.113 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.5671, allocations: 354.6 kB / 1.462 GB, free: 3.738 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.5682, allocations: 0.5799 MB / 1.462 GB, free: 3.148 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5682, allocations: 0 / 1.462 GB, free: 3.148 MB / 1.154 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002174/0.5704, allocations: 0.8217 MB / 1.463 GB, free: 2.316 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5704, allocations: 4 kB / 1.463 GB, free: 2.312 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5705, allocations: 7.984 kB / 1.463 GB, free: 2.305 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006482/0.5711, allocations: 88.8 kB / 1.463 GB, free: 2.215 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.5717, allocations: 143.8 kB / 1.463 GB, free: 2.074 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.574, allocations: 1.55 MB / 1.465 GB, free: 416 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000797/0.5748, allocations: 93.5 kB / 1.465 GB, free: 324 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.5749, allocations: 23.98 kB / 1.465 GB, free: 300 kB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (84): * Single equations (assignments): 83 * 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.0006354/0.5755, allocations: 297.8 kB / 1.465 GB, free: 15.99 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.5758, allocations: 111.3 kB / 1.466 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002645/0.5784, allocations: 1.072 MB / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.5785, allocations: 11.94 kB / 1.467 GB, free: 14.78 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5785, allocations: 0 / 1.467 GB, free: 14.78 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.5785, allocations: 7.969 kB / 1.467 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.58, allocations: 0.9927 MB / 1.468 GB, free: 13.74 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.58, allocations: 4 kB / 1.468 GB, free: 13.74 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.5806, allocations: 143.8 kB / 1.468 GB, free: 13.6 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/0.5811, allocations: 72.78 kB / 1.468 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.5811, allocations: 27.97 kB / 1.468 GB, free: 13.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.5834, allocations: 1.57 MB / 1.469 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5834, allocations: 0 / 1.469 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.5856, allocations: 0.9478 MB / 1.47 GB, free: 10.84 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.5861, allocations: 219 kB / 1.47 GB, free: 10.62 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.5863, allocations: 27.98 kB / 1.47 GB, free: 10.6 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.5869, allocations: 64 kB / 1.471 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.5871, allocations: 76.8 kB / 1.471 GB, free: 10.46 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-05/0.5872, allocations: 31.98 kB / 1.471 GB, free: 10.43 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009358/0.5881, allocations: 0.5782 MB / 1.471 GB, free: 9.84 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5881, allocations: 0 / 1.471 GB, free: 9.84 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001021/0.5891, allocations: 351 kB / 1.472 GB, free: 9.496 MB / 1.17 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.004539/0.5937, allocations: 2.006 MB / 1.474 GB, free: 7.633 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.5954, allocations: 0.7689 MB / 1.474 GB, free: 6.855 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5954, allocations: 0 / 1.474 GB, free: 6.855 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.5964, allocations: 496.2 kB / 1.475 GB, free: 6.355 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.5982, allocations: 468.1 kB / 1.475 GB, free: 5.934 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.6115, allocations: 7.082 MB / 1.482 GB, free: 14.7 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008319/0.6123, allocations: 1.102 MB / 1.483 GB, free: 13.58 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009978/0.6133, allocations: 291.8 kB / 1.483 GB, free: 13.29 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007174/0.614, allocations: 471.2 kB / 1.484 GB, free: 12.83 MB / 1.186 GB Notification: Performance of SimCode: time 1.152e-06/0.614, allocations: 0 / 1.484 GB, free: 12.83 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07481/0.6888, allocations: 26.77 MB / 1.51 GB, free: 2.293 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.57, allocations: 7.125 kB / 1.51 GB, free: 2.293 MB / 1.201 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 420.0] 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: 22.848255625925958]