Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001827/0.001827, allocations: 101.3 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.00214/0.00214, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.579/1.579, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.242/3.242, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_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.002095/0.002095, allocations: 67.98 kB / 1.17 GB, free: 19.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3772, allocations: 179 MB / 1.345 GB, free: 16 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00849/0.3857, allocations: 5.068 MB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.5636, allocations: 132.9 MB / 1.48 GB, free: 5.523 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.5651, allocations: 35.69 kB / 1.48 GB, free: 5.488 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.5666, allocations: 373.3 kB / 1.48 GB, free: 5.121 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.5695, allocations: 0.5835 MB / 1.481 GB, free: 4.539 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.5724, allocations: 0.9073 MB / 1.482 GB, free: 3.637 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002594/0.575, allocations: 1.574 MB / 1.483 GB, free: 2.055 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.5764, allocations: 0.499 MB / 1.484 GB, free: 1.52 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.5776, allocations: 0.5721 MB / 1.484 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.5787, allocations: 0.5814 MB / 1.485 GB, free: 372 kB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003507/0.579, allocations: 140 kB / 1.485 GB, free: 232 kB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.5804, allocations: 0.5075 MB / 1.486 GB, free: 15.72 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004726/0.5809, allocations: 346.8 kB / 1.486 GB, free: 15.38 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008449/0.5817, allocations: 0.5246 MB / 1.486 GB, free: 14.85 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003694/0.5854, allocations: 1.984 MB / 1.488 GB, free: 12.86 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5854, allocations: 0 / 1.488 GB, free: 12.86 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.045e-06/0.5854, allocations: 0 / 1.488 GB, free: 12.86 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.792e-05/0.5855, allocations: 0 / 1.488 GB, free: 12.86 MB / 1.186 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.005895/0.5914, allocations: 1.687 MB / 1.49 GB, free: 11.14 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.5915, allocations: 8.031 kB / 1.49 GB, free: 11.13 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.436e-05/0.5915, allocations: 30.19 kB / 1.49 GB, free: 11.1 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003868/0.5919, allocations: 156.4 kB / 1.49 GB, free: 10.94 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.5945, allocations: 259.8 kB / 1.49 GB, free: 10.69 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.5974, allocations: 0.8501 MB / 1.491 GB, free: 9.809 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.5976, allocations: 77.98 kB / 1.491 GB, free: 9.734 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.5978, allocations: 96 kB / 1.491 GB, free: 9.641 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/0.601, allocations: 1.286 MB / 1.493 GB, free: 8.25 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.6011, allocations: 0 / 1.493 GB, free: 8.25 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.6012, allocations: 44 kB / 1.493 GB, free: 8.207 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.6013, allocations: 24 kB / 1.493 GB, free: 8.184 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003277/0.6046, allocations: 1.171 MB / 1.494 GB, free: 7.016 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007142/0.6117, allocations: 2.512 MB / 1.496 GB, free: 4.434 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.614, allocations: 0.739 MB / 1.497 GB, free: 3.688 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008973/0.6149, allocations: 282.6 kB / 1.497 GB, free: 3.41 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.615, allocations: 20.62 kB / 1.497 GB, free: 3.391 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.6165, allocations: 0.5777 MB / 1.498 GB, free: 2.77 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 4.288e-06/0.6165, allocations: 4 kB / 1.498 GB, free: 2.766 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.004897/0.6214, allocations: 1.134 MB / 1.499 GB, free: 1.621 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/0.6215, allocations: 192.6 kB / 1.499 GB, free: 1.391 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.6234, allocations: 0.8263 MB / 1.5 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.6235, allocations: 41.7 kB / 1.5 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007276/0.6242, allocations: 0.5244 MB / 1.501 GB, free: 15.96 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/0.6246, allocations: 261.8 kB / 1.501 GB, free: 15.7 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003839/0.625, allocations: 146.6 kB / 1.501 GB, free: 15.55 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.6252, allocations: 338 kB / 1.501 GB, free: 15.21 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008763/0.6261, allocations: 241.9 kB / 1.502 GB, free: 14.98 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.6272, allocations: 487 kB / 1.502 GB, free: 14.45 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.629, allocations: 0.5761 MB / 1.503 GB, free: 13.86 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.629, allocations: 4 kB / 1.503 GB, free: 13.85 MB / 1.201 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003217/0.6322, allocations: 0.8178 MB / 1.503 GB, free: 13.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6323, allocations: 4 kB / 1.503 GB, free: 13.02 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6323, allocations: 11.69 kB / 1.503 GB, free: 13.01 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009169/0.6332, allocations: 88.84 kB / 1.503 GB, free: 12.92 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.6342, allocations: 143.8 kB / 1.504 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003303/0.6375, allocations: 1.527 MB / 1.505 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.6387, allocations: 87.47 kB / 1.505 GB, free: 11.05 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.6388, allocations: 31.97 kB / 1.505 GB, free: 11.02 MB / 1.201 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.0007868/0.6396, allocations: 297.9 kB / 1.506 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.6399, allocations: 111.3 kB / 1.506 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.6437, allocations: 1.08 MB / 1.507 GB, free: 9.516 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6437, allocations: 15.94 kB / 1.507 GB, free: 9.5 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.6437, allocations: 0 / 1.507 GB, free: 9.5 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.6437, allocations: 3.984 kB / 1.507 GB, free: 9.496 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.6455, allocations: 0.8487 MB / 1.508 GB, free: 8.602 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.6455, allocations: 0 / 1.508 GB, free: 8.602 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009327/0.6465, allocations: 143.8 kB / 1.508 GB, free: 8.461 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006583/0.6471, allocations: 76.78 kB / 1.508 GB, free: 8.383 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.6472, allocations: 31.91 kB / 1.508 GB, free: 8.352 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.6503, allocations: 1.562 MB / 1.509 GB, free: 6.672 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6503, allocations: 0 / 1.509 GB, free: 6.672 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.6535, allocations: 0.9479 MB / 1.51 GB, free: 5.699 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006833/0.6542, allocations: 222.9 kB / 1.51 GB, free: 5.48 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.6544, allocations: 20.06 kB / 1.51 GB, free: 5.461 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009939/0.6554, allocations: 75.8 kB / 1.511 GB, free: 5.387 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.6556, allocations: 68.88 kB / 1.511 GB, free: 5.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.6557, allocations: 35.97 kB / 1.511 GB, free: 5.285 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001094/0.6568, allocations: 0.5782 MB / 1.511 GB, free: 4.695 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6568, allocations: 0 / 1.511 GB, free: 4.695 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009855/0.6578, allocations: 346.9 kB / 1.512 GB, free: 4.355 MB / 1.201 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.005473/0.6633, allocations: 2.044 MB / 1.513 GB, free: 2.496 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002028/0.6653, allocations: 0.761 MB / 1.514 GB, free: 1.719 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6653, allocations: 0 / 1.514 GB, free: 1.719 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.6663, allocations: 0.4964 MB / 1.515 GB, free: 1.211 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.6684, allocations: 478 kB / 1.515 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.6824, allocations: 7.066 MB / 1.522 GB, free: 9.559 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006067/0.683, allocations: 0.51 MB / 1.523 GB, free: 9.016 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001041/0.684, allocations: 287.8 kB / 1.523 GB, free: 8.73 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008235/0.6848, allocations: 479.2 kB / 1.523 GB, free: 8.262 MB / 1.217 GB Notification: Performance of SimCode: time 1.613e-06/0.6848, allocations: 0 / 1.523 GB, free: 8.262 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07217/0.757, allocations: 27.81 MB / 1.55 GB, free: 12.79 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/15.99, allocations: 0 / 1.55 GB, free: 12.79 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.49795339605771]