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.001299/0.001299, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001559/0.001559, allocations: 217 kB / 23.04 MB, free: 5.074 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.352/3.352, allocations: 0.5003 GB / 0.8062 GB, free: 26.77 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.001991/0.001991, allocations: 64.83 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3494, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.01166/0.361, allocations: 5.729 MB / 1.351 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2012/0.5622, allocations: 154.4 MB / 1.502 GB, free: 15.7 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.5635, allocations: 39.62 kB / 1.502 GB, free: 15.66 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.5648, allocations: 377.4 kB / 1.502 GB, free: 15.29 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.5676, allocations: 0.5788 MB / 1.503 GB, free: 14.71 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.5702, allocations: 0.9191 MB / 1.504 GB, free: 13.8 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00274/0.5729, allocations: 1.578 MB / 1.505 GB, free: 12.21 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.5744, allocations: 0.5107 MB / 1.506 GB, free: 11.67 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.5757, allocations: 0.5566 MB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.577, allocations: 0.5831 MB / 1.507 GB, free: 10.52 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004903/0.5775, allocations: 132 kB / 1.507 GB, free: 10.39 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.579, allocations: 0.5309 MB / 1.507 GB, free: 9.863 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005485/0.5796, allocations: 346.7 kB / 1.508 GB, free: 9.523 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009832/0.5806, allocations: 0.6721 MB / 1.508 GB, free: 8.848 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003242/0.5838, allocations: 1.973 MB / 1.51 GB, free: 6.867 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5838, allocations: 0 / 1.51 GB, free: 6.867 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5838, allocations: 0 / 1.51 GB, free: 6.867 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.033e-05/0.5839, allocations: 0 / 1.51 GB, free: 6.867 MB / 1.201 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.003683/0.5875, allocations: 1.683 MB / 1.512 GB, free: 5.152 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.5876, allocations: 8.031 kB / 1.512 GB, free: 5.145 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.98e-05/0.5877, allocations: 30.19 kB / 1.512 GB, free: 5.113 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002076/0.5879, allocations: 156.4 kB / 1.512 GB, free: 4.953 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.5896, allocations: 263.8 kB / 1.512 GB, free: 4.695 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.5913, allocations: 0.8462 MB / 1.513 GB, free: 3.82 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.503e-05/0.5914, allocations: 81.98 kB / 1.513 GB, free: 3.742 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.5915, allocations: 96 kB / 1.513 GB, free: 3.648 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.5937, allocations: 1.028 MB / 1.514 GB, free: 2.578 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.5937, allocations: 0 / 1.514 GB, free: 2.578 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.5938, allocations: 44 kB / 1.514 GB, free: 2.535 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.5939, allocations: 24 kB / 1.514 GB, free: 2.512 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.596, allocations: 1.175 MB / 1.516 GB, free: 1.34 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00599/0.602, allocations: 3.012 MB / 1.518 GB, free: 14.2 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.6037, allocations: 0.7571 MB / 1.519 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.6043, allocations: 278.7 kB / 1.519 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-05/0.6044, allocations: 28.61 kB / 1.52 GB, free: 13.13 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.6054, allocations: 488.8 kB / 1.52 GB, free: 12.63 MB / 1.217 GB Notification: Performance of pre-optimization done (n=78): time 2.965e-06/0.6054, allocations: 0 / 1.52 GB, free: 12.63 MB / 1.217 GB Notification: Performance of matching and sorting (n=78): time 0.003522/0.6089, allocations: 1.142 MB / 1.521 GB, free: 11.48 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.6091, allocations: 188.6 kB / 1.521 GB, free: 11.25 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.6105, allocations: 0.8302 MB / 1.522 GB, free: 10.4 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.6106, allocations: 41.7 kB / 1.522 GB, free: 10.35 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005557/0.6112, allocations: 0.5281 MB / 1.523 GB, free: 9.816 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.6114, allocations: 257.8 kB / 1.523 GB, free: 9.562 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.6117, allocations: 146.6 kB / 1.523 GB, free: 9.414 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6119, allocations: 338 kB / 1.523 GB, free: 9.078 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/0.6124, allocations: 237.9 kB / 1.524 GB, free: 8.844 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/0.6132, allocations: 362.5 kB / 1.524 GB, free: 8.465 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.6145, allocations: 0.5799 MB / 1.524 GB, free: 7.871 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6145, allocations: 0 / 1.524 GB, free: 7.871 MB / 1.217 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002304/0.6168, allocations: 0.8179 MB / 1.525 GB, free: 7.043 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.6169, allocations: 4 kB / 1.525 GB, free: 7.039 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.6169, allocations: 7.938 kB / 1.525 GB, free: 7.031 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006758/0.6176, allocations: 88.8 kB / 1.525 GB, free: 6.941 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/0.6182, allocations: 151.7 kB / 1.526 GB, free: 6.793 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.621, allocations: 1.543 MB / 1.527 GB, free: 5.133 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008745/0.6219, allocations: 91.47 kB / 1.527 GB, free: 5.043 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-05/0.622, allocations: 36.02 kB / 1.527 GB, free: 5.008 MB / 1.217 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.0006352/0.6226, allocations: 299.9 kB / 1.527 GB, free: 4.707 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.6229, allocations: 107.3 kB / 1.528 GB, free: 4.602 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.6258, allocations: 1.076 MB / 1.529 GB, free: 3.52 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.6258, allocations: 11.94 kB / 1.529 GB, free: 3.508 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6258, allocations: 0 / 1.529 GB, free: 3.508 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.6258, allocations: 3.984 kB / 1.529 GB, free: 3.504 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.6275, allocations: 0.9929 MB / 1.53 GB, free: 2.465 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6275, allocations: 0 / 1.53 GB, free: 2.465 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.6281, allocations: 143.8 kB / 1.53 GB, free: 2.324 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.6286, allocations: 72.78 kB / 1.53 GB, free: 2.25 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.765e-05/0.6286, allocations: 19.98 kB / 1.53 GB, free: 2.23 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/0.631, allocations: 1.578 MB / 1.531 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.631, allocations: 0 / 1.531 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.6335, allocations: 0.9518 MB / 1.532 GB, free: 15.56 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/0.6341, allocations: 222.9 kB / 1.532 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.6344, allocations: 24 kB / 1.533 GB, free: 15.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007369/0.6351, allocations: 55.94 kB / 1.533 GB, free: 15.26 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.6353, allocations: 80.8 kB / 1.533 GB, free: 15.18 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.56e-05/0.6354, allocations: 35.97 kB / 1.533 GB, free: 15.15 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001022/0.6364, allocations: 0.5743 MB / 1.533 GB, free: 14.56 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.6364, allocations: 0 / 1.533 GB, free: 14.56 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001266/0.6377, allocations: 355 kB / 1.534 GB, free: 14.21 MB / 1.232 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.005545/0.6432, allocations: 2.005 MB / 1.536 GB, free: 12.36 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.6454, allocations: 0.7689 MB / 1.536 GB, free: 11.58 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.6454, allocations: 3.938 kB / 1.536 GB, free: 11.57 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.6466, allocations: 496.2 kB / 1.537 GB, free: 11.08 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.649, allocations: 467.9 kB / 1.537 GB, free: 10.65 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.6654, allocations: 7.072 MB / 1.544 GB, free: 3.422 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.6666, allocations: 1.102 MB / 1.545 GB, free: 2.297 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001091/0.6676, allocations: 291.8 kB / 1.545 GB, free: 2.008 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008794/0.6685, allocations: 479.2 kB / 1.546 GB, free: 1.539 MB / 1.232 GB Notification: Performance of SimCode: time 1.502e-06/0.6685, allocations: 0 / 1.546 GB, free: 1.539 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07459/0.7431, allocations: 26.79 MB / 1.572 GB, free: 6.945 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.1/15.84, allocations: 5.609 kB / 1.572 GB, free: 6.941 MB / 1.264 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.27170029602712]