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.00177/0.00177, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002477/0.002477, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.597/1.597, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.06/3.06, allocations: 0.5003 GB / 0.8026 GB, free: 6.676 MB / 0.6387 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.002228/0.002228, allocations: 69.62 kB / 1.165 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.146, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007272/1.153, allocations: 5.682 MB / 1.346 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2073/1.36, allocations: 154.3 MB / 1.496 GB, free: 7.473 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/1.362, allocations: 38.41 kB / 1.496 GB, free: 7.449 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/1.364, allocations: 372.4 kB / 1.497 GB, free: 7.121 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003762/1.368, allocations: 0.5871 MB / 1.497 GB, free: 6.676 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003208/1.371, allocations: 0.9024 MB / 1.498 GB, free: 5.988 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002938/1.374, allocations: 1.566 MB / 1.5 GB, free: 4.832 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/1.375, allocations: 0.5177 MB / 1.5 GB, free: 4.277 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000986/1.376, allocations: 0.5721 MB / 1.501 GB, free: 3.703 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007801/1.377, allocations: 0.5793 MB / 1.501 GB, free: 3.121 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/1.377, allocations: 132 kB / 1.501 GB, free: 2.992 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/1.379, allocations: 0.523 MB / 1.502 GB, free: 2.469 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/1.379, allocations: 346.8 kB / 1.502 GB, free: 2.129 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006657/1.38, allocations: 0.6683 MB / 1.503 GB, free: 1.457 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002918/1.382, allocations: 1.969 MB / 1.505 GB, free: 15.48 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.382, allocations: 0 / 1.505 GB, free: 15.48 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.483e-06/1.382, allocations: 4 kB / 1.505 GB, free: 15.48 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.273e-05/1.382, allocations: 4 kB / 1.505 GB, free: 15.47 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.003499/1.386, allocations: 1.746 MB / 1.507 GB, free: 13.68 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/1.386, allocations: 12.03 kB / 1.507 GB, free: 13.66 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.61e-05/1.386, allocations: 26.19 kB / 1.507 GB, free: 13.64 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/1.386, allocations: 160.3 kB / 1.507 GB, free: 13.47 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/1.388, allocations: 263.8 kB / 1.507 GB, free: 13.21 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/1.39, allocations: 0.9261 MB / 1.508 GB, free: 12.25 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-05/1.39, allocations: 74 kB / 1.508 GB, free: 12.18 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/1.39, allocations: 107.9 kB / 1.508 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/1.392, allocations: 1.032 MB / 1.509 GB, free: 11 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/1.392, allocations: 0 / 1.509 GB, free: 11 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/1.392, allocations: 44 kB / 1.509 GB, free: 10.95 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/1.392, allocations: 27.98 kB / 1.509 GB, free: 10.93 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/1.394, allocations: 1.163 MB / 1.51 GB, free: 9.766 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005277/1.4, allocations: 3.1 MB / 1.513 GB, free: 6.539 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/1.401, allocations: 0.7417 MB / 1.514 GB, free: 5.789 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/1.402, allocations: 274.7 kB / 1.514 GB, free: 5.52 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.919e-05/1.402, allocations: 28.61 kB / 1.514 GB, free: 5.492 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009713/1.403, allocations: 0.4889 MB / 1.515 GB, free: 4.984 MB / 1.186 GB Notification: Performance of pre-optimization done (n=78): time 2.965e-06/1.403, allocations: 4 kB / 1.515 GB, free: 4.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=78): time 0.003595/1.407, allocations: 1.206 MB / 1.516 GB, free: 3.746 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/1.407, allocations: 196.5 kB / 1.516 GB, free: 3.512 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/1.408, allocations: 0.8224 MB / 1.517 GB, free: 2.664 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/1.408, allocations: 41.7 kB / 1.517 GB, free: 2.617 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000608/1.409, allocations: 0.5242 MB / 1.518 GB, free: 2.086 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/1.409, allocations: 265.7 kB / 1.518 GB, free: 1.824 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/1.409, allocations: 146.6 kB / 1.518 GB, free: 1.672 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.41, allocations: 334 kB / 1.518 GB, free: 1.34 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/1.41, allocations: 245.9 kB / 1.518 GB, free: 1.102 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007523/1.411, allocations: 354.6 kB / 1.519 GB, free: 0.7344 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/1.412, allocations: 0.576 MB / 1.519 GB, free: 148 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.412, allocations: 0 / 1.519 GB, free: 148 kB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002275/1.415, allocations: 0.8219 MB / 1.52 GB, free: 15.31 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.415, allocations: 12 kB / 1.52 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.415, allocations: 3.938 kB / 1.52 GB, free: 15.29 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/1.415, allocations: 80.78 kB / 1.52 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/1.416, allocations: 143.8 kB / 1.52 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/1.418, allocations: 1.647 MB / 1.522 GB, free: 13.28 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009222/1.419, allocations: 83.53 kB / 1.522 GB, free: 13.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/1.419, allocations: 35.91 kB / 1.522 GB, free: 13.16 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.0005894/1.42, allocations: 301.1 kB / 1.522 GB, free: 12.86 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/1.42, allocations: 115.3 kB / 1.523 GB, free: 12.75 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/1.423, allocations: 1.076 MB / 1.524 GB, free: 11.66 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/1.423, allocations: 19.94 kB / 1.524 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/1.423, allocations: 3.938 kB / 1.524 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.423, allocations: 3.984 kB / 1.524 GB, free: 11.63 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/1.424, allocations: 1.017 MB / 1.525 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.424, allocations: 0 / 1.525 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/1.425, allocations: 139.8 kB / 1.525 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/1.426, allocations: 76.8 kB / 1.525 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.827e-05/1.426, allocations: 23.97 kB / 1.525 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/1.428, allocations: 1.674 MB / 1.526 GB, free: 8.512 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.428, allocations: 0 / 1.526 GB, free: 8.512 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/1.43, allocations: 0.9517 MB / 1.527 GB, free: 7.539 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/1.431, allocations: 296.1 kB / 1.528 GB, free: 7.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/1.431, allocations: 19.98 kB / 1.528 GB, free: 7.211 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006699/1.432, allocations: 65.69 kB / 1.528 GB, free: 7.148 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/1.432, allocations: 76.84 kB / 1.528 GB, free: 7.074 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-05/1.432, allocations: 35.97 kB / 1.528 GB, free: 7.039 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001025/1.433, allocations: 0.5782 MB / 1.528 GB, free: 6.449 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/1.433, allocations: 0 / 1.528 GB, free: 6.449 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001291/1.434, allocations: 347 kB / 1.529 GB, free: 6.109 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.004639/1.439, allocations: 2.003 MB / 1.531 GB, free: 4.254 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001852/1.441, allocations: 0.7609 MB / 1.531 GB, free: 3.48 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.441, allocations: 4.188 kB / 1.531 GB, free: 3.477 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/1.442, allocations: 0.4885 MB / 1.532 GB, free: 2.977 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/1.444, allocations: 472.6 kB / 1.532 GB, free: 2.547 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.457, allocations: 7.079 MB / 1.539 GB, free: 11.3 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008954/1.458, allocations: 1.103 MB / 1.54 GB, free: 10.18 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00112/1.459, allocations: 279.9 kB / 1.541 GB, free: 9.902 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008141/1.46, allocations: 479.2 kB / 1.541 GB, free: 9.434 MB / 1.217 GB Notification: Performance of SimCode: time 1.513e-06/1.46, allocations: 0 / 1.541 GB, free: 9.434 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0674/1.528, allocations: 26.23 MB / 1.567 GB, free: 15.48 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.95, allocations: 15.94 kB / 1.567 GB, free: 15.47 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.216566304967273]