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.001685/0.001685, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002054/0.002054, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.793 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 2.822/2.822, allocations: 476 MB / 0.7699 GB, free: 4.727 MB / 0.6231 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: "" <> 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.002123/0.002123, allocations: 68.36 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3551, allocations: 170 MB / 1.283 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.009378/0.3644, allocations: 5.069 MB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.218/0.5825, allocations: 133 MB / 1.417 GB, free: 1.879 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.5839, allocations: 35.69 kB / 1.417 GB, free: 1.844 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.5853, allocations: 377.3 kB / 1.418 GB, free: 1.473 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002806/0.5881, allocations: 0.5829 MB / 1.418 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002789/0.5909, allocations: 0.8999 MB / 1.419 GB, free: 15.99 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.5936, allocations: 1.581 MB / 1.421 GB, free: 14.41 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.5947, allocations: 491 kB / 1.421 GB, free: 13.89 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.5957, allocations: 0.5682 MB / 1.422 GB, free: 13.32 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/0.5965, allocations: 0.5206 MB / 1.422 GB, free: 12.8 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.5967, allocations: 132 kB / 1.422 GB, free: 12.67 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.5979, allocations: 0.4996 MB / 1.423 GB, free: 12.17 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003773/0.5983, allocations: 346.8 kB / 1.423 GB, free: 11.83 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006017/0.5989, allocations: 0.5285 MB / 1.424 GB, free: 11.3 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.6015, allocations: 1.978 MB / 1.426 GB, free: 9.312 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.6015, allocations: 4 kB / 1.426 GB, free: 9.309 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6015, allocations: 0 / 1.426 GB, free: 9.309 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.25e-05/0.6015, allocations: 0 / 1.426 GB, free: 9.309 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.003071/0.6046, allocations: 1.683 MB / 1.427 GB, free: 7.586 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6047, allocations: 12.03 kB / 1.427 GB, free: 7.574 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/0.6049, allocations: 156.4 kB / 1.427 GB, free: 7.414 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.6064, allocations: 267.8 kB / 1.428 GB, free: 7.152 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.608, allocations: 0.8424 MB / 1.429 GB, free: 6.281 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/0.6081, allocations: 74 kB / 1.429 GB, free: 6.211 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.6082, allocations: 96 kB / 1.429 GB, free: 6.117 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.6102, allocations: 1.283 MB / 1.43 GB, free: 4.73 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.6102, allocations: 7.938 kB / 1.43 GB, free: 4.723 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/0.6103, allocations: 43.98 kB / 1.43 GB, free: 4.68 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.6103, allocations: 24 kB / 1.43 GB, free: 4.656 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002012/0.6124, allocations: 1.124 MB / 1.431 GB, free: 3.535 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.004458/0.6168, allocations: 2.5 MB / 1.434 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.6184, allocations: 0.7594 MB / 1.434 GB, free: 204 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005671/0.6189, allocations: 274.7 kB / 1.435 GB, free: 15.93 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-05/0.619, allocations: 24.62 kB / 1.435 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.62, allocations: 0.5845 MB / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of pre-optimization done (n=78): time 2.865e-06/0.62, allocations: 4 kB / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of matching and sorting (n=78): time 0.003348/0.6234, allocations: 1.134 MB / 1.436 GB, free: 14.13 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.6235, allocations: 192.6 kB / 1.436 GB, free: 13.9 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.6248, allocations: 0.8302 MB / 1.437 GB, free: 13.04 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.411e-05/0.6249, allocations: 41.7 kB / 1.437 GB, free: 13 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005723/0.6255, allocations: 0.5242 MB / 1.438 GB, free: 12.46 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.6257, allocations: 257.8 kB / 1.438 GB, free: 12.21 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/0.626, allocations: 146.6 kB / 1.438 GB, free: 12.06 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.6262, allocations: 337.9 kB / 1.439 GB, free: 11.73 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005374/0.6267, allocations: 245.9 kB / 1.439 GB, free: 11.49 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000776/0.6275, allocations: 487 kB / 1.439 GB, free: 10.95 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.6287, allocations: 0.5799 MB / 1.44 GB, free: 10.36 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.6287, allocations: 0 / 1.44 GB, free: 10.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002035/0.6307, allocations: 0.8179 MB / 1.441 GB, free: 9.531 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6307, allocations: 4 kB / 1.441 GB, free: 9.527 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6307, allocations: 0 / 1.441 GB, free: 9.527 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.6314, allocations: 88.8 kB / 1.441 GB, free: 9.438 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.632, allocations: 147.8 kB / 1.441 GB, free: 9.293 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/0.6344, allocations: 1.531 MB / 1.442 GB, free: 7.645 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006931/0.6351, allocations: 95.5 kB / 1.442 GB, free: 7.551 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.6352, allocations: 31.97 kB / 1.442 GB, free: 7.52 MB / 1.139 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.0005425/0.6357, allocations: 293.6 kB / 1.443 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.6359, allocations: 107.3 kB / 1.443 GB, free: 7.117 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.6384, allocations: 1.08 MB / 1.444 GB, free: 6.023 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.6384, allocations: 11.94 kB / 1.444 GB, free: 6.012 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.6385, allocations: 0 / 1.444 GB, free: 6.012 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.6385, allocations: 7.922 kB / 1.444 GB, free: 6.004 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.6398, allocations: 0.8681 MB / 1.445 GB, free: 5.094 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.6398, allocations: 0 / 1.445 GB, free: 5.094 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.6404, allocations: 147.8 kB / 1.445 GB, free: 4.949 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.6409, allocations: 68.78 kB / 1.445 GB, free: 4.879 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.6409, allocations: 27.98 kB / 1.445 GB, free: 4.852 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.6431, allocations: 1.562 MB / 1.447 GB, free: 3.172 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6431, allocations: 0 / 1.447 GB, free: 3.172 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.6452, allocations: 0.9479 MB / 1.447 GB, free: 2.199 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/0.6457, allocations: 219 kB / 1.448 GB, free: 1.984 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.6458, allocations: 23.95 kB / 1.448 GB, free: 1.961 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006036/0.6464, allocations: 59.92 kB / 1.448 GB, free: 1.902 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.6465, allocations: 72.81 kB / 1.448 GB, free: 1.832 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-05/0.6466, allocations: 40.03 kB / 1.448 GB, free: 1.793 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008739/0.6475, allocations: 0.5782 MB / 1.448 GB, free: 1.203 MB / 1.139 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6475, allocations: 0 / 1.448 GB, free: 1.203 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009299/0.6484, allocations: 343 kB / 1.449 GB, free: 0.8672 MB / 1.139 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.004615/0.653, allocations: 2.051 MB / 1.451 GB, free: 15 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.6548, allocations: 0.765 MB / 1.451 GB, free: 14.23 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6548, allocations: 0 / 1.451 GB, free: 14.23 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009938/0.6558, allocations: 0.4884 MB / 1.452 GB, free: 13.73 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.6575, allocations: 467 kB / 1.452 GB, free: 13.3 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.6706, allocations: 7.072 MB / 1.459 GB, free: 6.074 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.6712, allocations: 0.5139 MB / 1.46 GB, free: 5.527 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001004/0.6722, allocations: 287.8 kB / 1.46 GB, free: 5.242 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007185/0.6729, allocations: 483.2 kB / 1.461 GB, free: 4.77 MB / 1.154 GB Notification: Performance of SimCode: time 1.262e-06/0.6729, allocations: 0 / 1.461 GB, free: 4.77 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07661/0.7495, allocations: 28.05 MB / 1.488 GB, free: 9.074 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.7, allocations: 6.875 kB / 1.488 GB, free: 9.07 MB / 1.186 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: 21.77270142873749]