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.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.001632/0.001632, allocations: 103.9 kB / 16.45 MB, free: 6.445 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.001428/0.001428, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.578/1.578, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.014/3.014, allocations: 497.2 MB / 0.7812 GB, free: 11.9 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.89 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.223/1.225, allocations: 173.9 MB / 1.304 GB, free: 32.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007027/1.232, allocations: 5.643 MB / 1.309 GB, free: 28.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2134/1.446, allocations: 151.3 MB / 1.457 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/1.447, allocations: 23.03 kB / 1.457 GB, free: 14.1 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001293/1.449, allocations: 370.6 kB / 1.458 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002792/1.452, allocations: 0.5636 MB / 1.458 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002805/1.454, allocations: 0.8759 MB / 1.459 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003122/1.457, allocations: 1.559 MB / 1.461 GB, free: 12.23 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/1.459, allocations: 0.5079 MB / 1.461 GB, free: 11.92 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/1.46, allocations: 0.5405 MB / 1.462 GB, free: 11.64 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/1.461, allocations: 0.5688 MB / 1.462 GB, free: 11.32 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002609/1.461, allocations: 143.3 kB / 1.462 GB, free: 11.31 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/1.463, allocations: 0.4904 MB / 1.463 GB, free: 11.2 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000429/1.463, allocations: 332.9 kB / 1.463 GB, free: 10.98 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009238/1.464, allocations: 0.6642 MB / 1.464 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003963/1.468, allocations: 1.923 MB / 1.466 GB, free: 9.684 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.468, allocations: 0 / 1.466 GB, free: 9.684 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.914e-06/1.468, allocations: 0 / 1.466 GB, free: 9.684 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.063e-05/1.468, allocations: 1.219 kB / 1.466 GB, free: 9.684 MB / 1.154 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.004192/1.472, allocations: 1.733 MB / 1.467 GB, free: 8.504 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/1.472, allocations: 14.12 kB / 1.467 GB, free: 8.5 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002699/1.473, allocations: 154.3 kB / 1.467 GB, free: 8.398 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/1.474, allocations: 221.3 kB / 1.468 GB, free: 8.316 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/1.476, allocations: 0.925 MB / 1.469 GB, free: 7.66 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.968e-05/1.476, allocations: 74.38 kB / 1.469 GB, free: 7.629 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/1.476, allocations: 99.53 kB / 1.469 GB, free: 7.594 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/1.479, allocations: 1.03 MB / 1.47 GB, free: 6.941 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/1.479, allocations: 0 / 1.47 GB, free: 6.941 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/1.479, allocations: 43.06 kB / 1.47 GB, free: 6.91 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/1.479, allocations: 23.94 kB / 1.47 GB, free: 6.91 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/1.481, allocations: 1.167 MB / 1.471 GB, free: 6.355 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006061/1.487, allocations: 3.069 MB / 1.474 GB, free: 3.895 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/1.489, allocations: 0.7545 MB / 1.475 GB, free: 3.5 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/1.489, allocations: 273 kB / 1.475 GB, free: 3.355 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.055e-05/1.489, allocations: 30.58 kB / 1.475 GB, free: 3.34 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/1.49, allocations: 0.4912 MB / 1.475 GB, free: 3.016 MB / 1.154 GB Notification: Performance of pre-optimization done (n=78): time 2.364e-06/1.49, allocations: 1.25 kB / 1.475 GB, free: 3.016 MB / 1.154 GB Notification: Performance of matching and sorting (n=78): time 0.003603/1.494, allocations: 1.208 MB / 1.477 GB, free: 2.359 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.494, allocations: 192.9 kB / 1.477 GB, free: 2.137 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.495, allocations: 0.8026 MB / 1.478 GB, free: 1.664 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.661e-05/1.495, allocations: 39.2 kB / 1.478 GB, free: 1.625 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/1.496, allocations: 0.5151 MB / 1.478 GB, free: 1.168 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/1.496, allocations: 265.2 kB / 1.478 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/1.497, allocations: 145.6 kB / 1.479 GB, free: 0.8477 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001881/1.497, allocations: 337.5 kB / 1.479 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/1.497, allocations: 242.9 kB / 1.479 GB, free: 412 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/1.498, allocations: 357.6 kB / 1.479 GB, free: 180 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.499, allocations: 0.5772 MB / 1.48 GB, free: 15.86 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-05/1.499, allocations: 0 / 1.48 GB, free: 15.86 MB / 1.17 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002234/1.501, allocations: 0.8205 MB / 1.481 GB, free: 15.43 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.501, allocations: 5.625 kB / 1.481 GB, free: 15.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/1.501, allocations: 5.031 kB / 1.481 GB, free: 15.42 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/1.502, allocations: 89.11 kB / 1.481 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/1.503, allocations: 148.7 kB / 1.481 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/1.505, allocations: 1.645 MB / 1.483 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008837/1.506, allocations: 90.5 kB / 1.483 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/1.506, allocations: 30.98 kB / 1.483 GB, free: 13.65 MB / 1.17 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.0006906/1.507, allocations: 289.9 kB / 1.483 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/1.507, allocations: 119.7 kB / 1.483 GB, free: 13.36 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/1.51, allocations: 1.066 MB / 1.484 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/1.51, allocations: 12.62 kB / 1.484 GB, free: 12.76 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.51, allocations: 1.125 kB / 1.484 GB, free: 12.76 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.51, allocations: 3.984 kB / 1.484 GB, free: 12.76 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001567/1.511, allocations: 1.017 MB / 1.485 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/1.511, allocations: 0 / 1.485 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/1.512, allocations: 144 kB / 1.485 GB, free: 11.97 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/1.512, allocations: 73.25 kB / 1.485 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/1.512, allocations: 24.3 kB / 1.485 GB, free: 11.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/1.515, allocations: 1.678 MB / 1.487 GB, free: 10.28 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.515, allocations: 0 / 1.487 GB, free: 10.28 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/1.517, allocations: 0.9483 MB / 1.488 GB, free: 9.77 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006151/1.518, allocations: 295.4 kB / 1.488 GB, free: 9.512 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/1.518, allocations: 17.31 kB / 1.488 GB, free: 9.5 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000634/1.519, allocations: 66.8 kB / 1.488 GB, free: 9.465 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/1.519, allocations: 69.5 kB / 1.488 GB, free: 9.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.96e-05/1.519, allocations: 38.97 kB / 1.488 GB, free: 9.414 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009922/1.52, allocations: 0.5577 MB / 1.489 GB, free: 9.082 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.52, allocations: 1.031 kB / 1.489 GB, free: 9.082 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001103/1.521, allocations: 344.2 kB / 1.489 GB, free: 8.906 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.004519/1.526, allocations: 2.005 MB / 1.491 GB, free: 7.059 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001959/1.528, allocations: 0.7689 MB / 1.492 GB, free: 6.281 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.528, allocations: 0 / 1.492 GB, free: 6.281 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009874/1.528, allocations: 0.4885 MB / 1.492 GB, free: 5.781 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.531, allocations: 459 kB / 1.493 GB, free: 5.363 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/1.544, allocations: 7.006 MB / 1.5 GB, free: 14.21 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.545, allocations: 1.095 MB / 1.501 GB, free: 13.09 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001196/1.546, allocations: 295.7 kB / 1.501 GB, free: 12.79 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007167/1.547, allocations: 471.2 kB / 1.502 GB, free: 12.33 MB / 1.186 GB Notification: Performance of SimCode: time 1.172e-06/1.547, allocations: 0 / 1.502 GB, free: 12.33 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09191/1.639, allocations: 25.92 MB / 1.527 GB, free: 2.68 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/15.65, allocations: 16.28 kB / 1.527 GB, free: 2.668 MB / 1.201 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_2/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: 22.704554330091923]