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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.468/2.468, allocations: 476.7 MB / 0.7628 GB, free: 15.31 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> 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: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 71.88 kB / 1.107 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7756/0.7774, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005704/0.7831, allocations: 5.674 MB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1649/0.948, allocations: 151.4 MB / 1.425 GB, free: 2.992 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.9493, allocations: 26.31 kB / 1.425 GB, free: 2.98 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.0008765/0.9502, allocations: 371.6 kB / 1.425 GB, free: 2.652 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.952, allocations: 0.5614 MB / 1.426 GB, free: 2.23 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.9541, allocations: 0.896 MB / 1.427 GB, free: 1.543 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.001849/0.956, allocations: 1.558 MB / 1.428 GB, free: 0.5625 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008064/0.9568, allocations: 0.508 MB / 1.429 GB, free: 180 kB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007667/0.9575, allocations: 0.5414 MB / 1.429 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.9582, allocations: 0.5676 MB / 1.43 GB, free: 15.43 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.9584, allocations: 132.7 kB / 1.43 GB, free: 15.43 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.9594, allocations: 0.4914 MB / 1.43 GB, free: 15.24 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.9598, allocations: 338.8 kB / 1.431 GB, free: 14.97 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006493/0.9604, allocations: 0.6653 MB / 1.431 GB, free: 14.47 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.9627, allocations: 1.927 MB / 1.433 GB, free: 13.05 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9627, allocations: 0 / 1.433 GB, free: 13.05 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9627, allocations: 0 / 1.433 GB, free: 13.05 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.349e-05/0.9628, allocations: 1.469 kB / 1.433 GB, free: 13.05 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.002768/0.9655, allocations: 1.72 MB / 1.435 GB, free: 11.69 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.9656, allocations: 13.56 kB / 1.435 GB, free: 11.69 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.9657, allocations: 153.4 kB / 1.435 GB, free: 11.56 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000921/0.9667, allocations: 227.2 kB / 1.435 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.968, allocations: 0.9188 MB / 1.436 GB, free: 10.71 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.9681, allocations: 75.25 kB / 1.436 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.9682, allocations: 103.2 kB / 1.436 GB, free: 10.64 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.9698, allocations: 1.033 MB / 1.437 GB, free: 9.984 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.9698, allocations: 5.375 kB / 1.437 GB, free: 9.98 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/0.9699, allocations: 42.44 kB / 1.437 GB, free: 9.949 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.9699, allocations: 27.88 kB / 1.437 GB, free: 9.945 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.9717, allocations: 1.163 MB / 1.439 GB, free: 9.395 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.004214/0.9759, allocations: 3.016 MB / 1.441 GB, free: 6.316 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/0.9773, allocations: 0.7544 MB / 1.442 GB, free: 5.559 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/0.9778, allocations: 274.7 kB / 1.442 GB, free: 5.285 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.175e-05/0.9779, allocations: 32.61 kB / 1.442 GB, free: 5.254 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007993/0.9787, allocations: 495.7 kB / 1.443 GB, free: 4.75 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 1.994e-06/0.9787, allocations: 0 / 1.443 GB, free: 4.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.002955/0.9816, allocations: 1.206 MB / 1.444 GB, free: 3.52 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.9817, allocations: 188.6 kB / 1.444 GB, free: 3.293 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009844/0.9827, allocations: 0.8046 MB / 1.445 GB, free: 2.461 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.9828, allocations: 45.69 kB / 1.445 GB, free: 2.41 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.9832, allocations: 0.5165 MB / 1.446 GB, free: 1.887 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.9834, allocations: 269.7 kB / 1.446 GB, free: 1.621 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.9836, allocations: 142.6 kB / 1.446 GB, free: 1.477 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9837, allocations: 337.9 kB / 1.446 GB, free: 1.141 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004807/0.9842, allocations: 249.8 kB / 1.447 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005805/0.9848, allocations: 346.6 kB / 1.447 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.9858, allocations: 0.5839 MB / 1.447 GB, free: 15.93 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.9858, allocations: 3.938 kB / 1.447 GB, free: 15.93 MB / 1.139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001782/0.9876, allocations: 0.8139 MB / 1.448 GB, free: 15.11 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.9876, allocations: 8 kB / 1.448 GB, free: 15.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.9876, allocations: 3.938 kB / 1.448 GB, free: 15.1 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/0.9882, allocations: 84.81 kB / 1.448 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.9888, allocations: 143.8 kB / 1.449 GB, free: 14.87 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.9908, allocations: 1.642 MB / 1.45 GB, free: 13.09 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.9915, allocations: 100.9 kB / 1.45 GB, free: 12.99 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.9915, allocations: 31.97 kB / 1.45 GB, free: 12.96 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.0004209/0.992, allocations: 285.6 kB / 1.451 GB, free: 12.67 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.9921, allocations: 111.3 kB / 1.451 GB, free: 12.56 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.9944, allocations: 1.072 MB / 1.452 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.9944, allocations: 11.94 kB / 1.452 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.9944, allocations: 8 kB / 1.452 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.9944, allocations: 3.984 kB / 1.452 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.9955, allocations: 1.005 MB / 1.453 GB, free: 10.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.9955, allocations: 4 kB / 1.453 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005407/0.9961, allocations: 143.8 kB / 1.453 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004135/0.9965, allocations: 72.73 kB / 1.453 GB, free: 10.18 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.9965, allocations: 27.97 kB / 1.453 GB, free: 10.15 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.9984, allocations: 1.674 MB / 1.455 GB, free: 8.328 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.9984, allocations: 0 / 1.455 GB, free: 8.328 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/1, allocations: 0.9478 MB / 1.455 GB, free: 7.363 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/1.001, allocations: 300 kB / 1.456 GB, free: 7.051 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/1.001, allocations: 16 kB / 1.456 GB, free: 7.035 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/1.001, allocations: 59.94 kB / 1.456 GB, free: 6.977 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.001, allocations: 80.77 kB / 1.456 GB, free: 6.895 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/1.002, allocations: 36.12 kB / 1.456 GB, free: 6.859 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006943/1.002, allocations: 0.5581 MB / 1.456 GB, free: 6.289 MB / 1.139 GB Notification: Performance of sort global known variables: time 7.1e-08/1.002, allocations: 0 / 1.456 GB, free: 6.289 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008174/1.003, allocations: 343 kB / 1.457 GB, free: 5.953 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.003807/1.007, allocations: 2 MB / 1.459 GB, free: 4.102 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001513/1.008, allocations: 0.7687 MB / 1.46 GB, free: 3.32 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.008, allocations: 4.188 kB / 1.46 GB, free: 3.316 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000854/1.009, allocations: 496.2 kB / 1.46 GB, free: 2.824 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.011, allocations: 471.9 kB / 1.46 GB, free: 2.402 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/1.021, allocations: 7.003 MB / 1.467 GB, free: 11.24 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/1.022, allocations: 1.1 MB / 1.468 GB, free: 10.11 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008122/1.023, allocations: 287.6 kB / 1.469 GB, free: 9.828 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005967/1.023, allocations: 467.2 kB / 1.469 GB, free: 9.371 MB / 1.154 GB Notification: Performance of SimCode: time 6.11e-07/1.023, allocations: 0 / 1.469 GB, free: 9.371 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06021/1.084, allocations: 25.96 MB / 1.494 GB, free: 15.63 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.93, allocations: 1.875 kB / 1.494 GB, free: 15.63 MB / 1.186 GB " [Timeout remaining time 287] (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 --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: 18.39605598399976]