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.00164/0.00164, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002101/0.002101, allocations: 217.5 kB / 23.03 MB, free: 4.949 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.905/2.905, allocations: 476.8 MB / 0.7715 GB, free: 3.906 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",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.002049/0.002049, allocations: 60.64 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3667, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008519/0.3752, allocations: 5.053 MB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1808/0.5559, allocations: 132.9 MB / 1.419 GB, free: 236 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.5575, allocations: 39.56 kB / 1.419 GB, free: 196 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.559, allocations: 385.4 kB / 1.419 GB, free: 15.81 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002701/0.5617, allocations: 0.5793 MB / 1.42 GB, free: 15.23 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.5643, allocations: 0.9039 MB / 1.421 GB, free: 14.33 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002491/0.5667, allocations: 1.577 MB / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.568, allocations: 0.5068 MB / 1.423 GB, free: 12.21 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.5691, allocations: 0.5644 MB / 1.423 GB, free: 11.64 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.5701, allocations: 0.587 MB / 1.424 GB, free: 11.05 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.5705, allocations: 136 kB / 1.424 GB, free: 10.92 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001352/0.5718, allocations: 0.5075 MB / 1.424 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005078/0.5724, allocations: 346.8 kB / 1.425 GB, free: 10.07 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008211/0.5732, allocations: 0.5207 MB / 1.425 GB, free: 9.547 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003219/0.5764, allocations: 1.986 MB / 1.427 GB, free: 7.555 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.5764, allocations: 8 kB / 1.427 GB, free: 7.547 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5764, allocations: 3.938 kB / 1.427 GB, free: 7.543 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.112e-05/0.5765, allocations: 0 / 1.427 GB, free: 7.543 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.003607/0.5801, allocations: 1.683 MB / 1.429 GB, free: 5.82 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.5801, allocations: 8.031 kB / 1.429 GB, free: 5.812 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.98e-05/0.5802, allocations: 26.19 kB / 1.429 GB, free: 5.789 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.5804, allocations: 156.4 kB / 1.429 GB, free: 5.629 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.5819, allocations: 263.8 kB / 1.429 GB, free: 5.371 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.5835, allocations: 0.8423 MB / 1.43 GB, free: 4.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/0.5836, allocations: 78 kB / 1.43 GB, free: 4.422 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.5837, allocations: 99.98 kB / 1.43 GB, free: 4.324 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.5857, allocations: 1.286 MB / 1.432 GB, free: 2.938 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.5858, allocations: 0 / 1.432 GB, free: 2.938 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-05/0.5859, allocations: 40 kB / 1.432 GB, free: 2.898 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.5859, allocations: 28 kB / 1.432 GB, free: 2.871 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002/0.5879, allocations: 1.163 MB / 1.433 GB, free: 1.703 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.004922/0.5928, allocations: 2.512 MB / 1.435 GB, free: 15.12 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.5944, allocations: 0.7478 MB / 1.436 GB, free: 14.37 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.5949, allocations: 274.7 kB / 1.436 GB, free: 14.1 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.745e-05/0.595, allocations: 16.64 kB / 1.436 GB, free: 14.08 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.596, allocations: 0.5883 MB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of pre-optimization done (n=78): time 3.326e-06/0.596, allocations: 4 kB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=78): time 0.003334/0.5994, allocations: 1.138 MB / 1.438 GB, free: 12.3 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.5995, allocations: 196.6 kB / 1.438 GB, free: 12.06 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.6007, allocations: 0.8224 MB / 1.439 GB, free: 11.21 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.355e-05/0.6008, allocations: 41.7 kB / 1.439 GB, free: 11.17 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.6013, allocations: 0.5243 MB / 1.439 GB, free: 10.64 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.6015, allocations: 265.7 kB / 1.44 GB, free: 10.38 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.6018, allocations: 146.6 kB / 1.44 GB, free: 10.23 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.602, allocations: 334 kB / 1.44 GB, free: 9.895 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.6025, allocations: 241.9 kB / 1.44 GB, free: 9.66 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007093/0.6032, allocations: 479.1 kB / 1.441 GB, free: 9.133 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6043, allocations: 0.5838 MB / 1.441 GB, free: 8.539 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.6043, allocations: 4.062 kB / 1.441 GB, free: 8.535 MB / 1.139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002079/0.6064, allocations: 0.8217 MB / 1.442 GB, free: 7.699 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.6064, allocations: 4 kB / 1.442 GB, free: 7.695 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6064, allocations: 7.938 kB / 1.442 GB, free: 7.688 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/0.607, allocations: 84.86 kB / 1.442 GB, free: 7.602 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006339/0.6077, allocations: 143.8 kB / 1.442 GB, free: 7.461 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.6099, allocations: 1.539 MB / 1.444 GB, free: 5.805 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/0.6107, allocations: 89.81 kB / 1.444 GB, free: 5.719 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.6107, allocations: 27.98 kB / 1.444 GB, free: 5.691 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.0005995/0.6113, allocations: 293.6 kB / 1.444 GB, free: 5.395 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.6116, allocations: 111.3 kB / 1.444 GB, free: 5.285 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.6141, allocations: 1.072 MB / 1.445 GB, free: 4.199 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.6141, allocations: 15.94 kB / 1.445 GB, free: 4.184 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.6141, allocations: 3.938 kB / 1.445 GB, free: 4.18 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.6141, allocations: 7.984 kB / 1.445 GB, free: 4.172 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.6154, allocations: 0.8604 MB / 1.446 GB, free: 3.27 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.6154, allocations: 0 / 1.446 GB, free: 3.27 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.616, allocations: 143.8 kB / 1.446 GB, free: 3.129 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/0.6164, allocations: 76.78 kB / 1.447 GB, free: 3.051 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.6165, allocations: 23.98 kB / 1.447 GB, free: 3.027 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.6186, allocations: 1.562 MB / 1.448 GB, free: 1.348 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.6186, allocations: 0 / 1.448 GB, free: 1.348 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.6206, allocations: 0.944 MB / 1.449 GB, free: 388 kB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.6211, allocations: 222.9 kB / 1.449 GB, free: 164 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.6212, allocations: 16 kB / 1.449 GB, free: 148 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000626/0.6218, allocations: 59.94 kB / 1.449 GB, free: 88 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.622, allocations: 76.8 kB / 1.449 GB, free: 12 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.6221, allocations: 35.97 kB / 1.449 GB, free: 15.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008509/0.623, allocations: 0.5821 MB / 1.45 GB, free: 15.38 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.623, allocations: 3.938 kB / 1.45 GB, free: 15.38 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001026/0.624, allocations: 347 kB / 1.45 GB, free: 15.04 MB / 1.154 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.004444/0.6284, allocations: 2.043 MB / 1.452 GB, free: 13.18 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.6302, allocations: 0.7651 MB / 1.453 GB, free: 12.4 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6302, allocations: 4 kB / 1.453 GB, free: 12.4 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009313/0.6311, allocations: 496.2 kB / 1.454 GB, free: 11.9 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.6328, allocations: 471.7 kB / 1.454 GB, free: 11.48 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.6449, allocations: 7.082 MB / 1.461 GB, free: 4.242 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.6455, allocations: 0.5156 MB / 1.461 GB, free: 3.691 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009694/0.6464, allocations: 283.8 kB / 1.462 GB, free: 3.41 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007384/0.6472, allocations: 475.2 kB / 1.462 GB, free: 2.945 MB / 1.154 GB Notification: Performance of SimCode: time 1.202e-06/0.6472, allocations: 0 / 1.462 GB, free: 2.945 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0716/0.7188, allocations: 27.81 MB / 1.489 GB, free: 7.559 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/15.87, allocations: 14.34 kB / 1.489 GB, free: 7.551 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: 23.249036447959952]