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.001292/0.001292, 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.001396/0.001396, 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.786/2.786, allocations: 476.7 MB / 0.7678 GB, free: 9.383 MB / 0.6075 GB " [Timeout remaining time 177] 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.002195/0.002195, allocations: 60.14 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9618/0.9639, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008765/0.9727, allocations: 5.688 MB / 1.284 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2075/1.18, allocations: 154.3 MB / 1.435 GB, free: 11.98 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/1.182, allocations: 39.69 kB / 1.435 GB, free: 11.94 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/1.183, allocations: 369.3 kB / 1.436 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/1.186, allocations: 0.581 MB / 1.436 GB, free: 10.99 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/1.188, allocations: 0.8976 MB / 1.437 GB, free: 10.1 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002239/1.191, allocations: 1.574 MB / 1.438 GB, free: 8.523 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009462/1.191, allocations: 0.5138 MB / 1.439 GB, free: 7.977 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008594/1.192, allocations: 0.5799 MB / 1.44 GB, free: 7.395 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/1.193, allocations: 0.5676 MB / 1.44 GB, free: 6.824 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/1.193, allocations: 136 kB / 1.44 GB, free: 6.691 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/1.194, allocations: 0.523 MB / 1.441 GB, free: 6.168 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003431/1.195, allocations: 338.8 kB / 1.441 GB, free: 5.836 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0008222/1.196, allocations: 0.6722 MB / 1.442 GB, free: 5.16 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004442/1.2, allocations: 1.976 MB / 1.444 GB, free: 3.176 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/1.2, allocations: 4 kB / 1.444 GB, free: 3.172 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.775e-06/1.2, allocations: 0 / 1.444 GB, free: 3.172 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.71e-05/1.2, allocations: 0 / 1.444 GB, free: 3.172 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.004395/1.204, allocations: 1.758 MB / 1.445 GB, free: 1.355 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/1.205, allocations: 12.03 kB / 1.445 GB, free: 1.344 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.272e-05/1.205, allocations: 26.19 kB / 1.445 GB, free: 1.32 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/1.205, allocations: 152.4 kB / 1.446 GB, free: 1.164 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/1.206, allocations: 263.8 kB / 1.446 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/1.208, allocations: 0.9301 MB / 1.447 GB, free: 15.93 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/1.208, allocations: 74 kB / 1.447 GB, free: 15.86 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/1.208, allocations: 96 kB / 1.447 GB, free: 15.76 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/1.21, allocations: 1.032 MB / 1.448 GB, free: 14.69 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/1.21, allocations: 7.938 kB / 1.448 GB, free: 14.68 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/1.21, allocations: 44 kB / 1.448 GB, free: 14.64 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/1.21, allocations: 24 kB / 1.448 GB, free: 14.62 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/1.212, allocations: 1.171 MB / 1.449 GB, free: 13.44 MB / 1.139 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.005007/1.217, allocations: 3.043 MB / 1.452 GB, free: 10.28 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/1.219, allocations: 0.747 MB / 1.453 GB, free: 9.531 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005585/1.219, allocations: 278.6 kB / 1.453 GB, free: 9.254 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.776e-05/1.22, allocations: 24.61 kB / 1.453 GB, free: 9.23 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009597/1.22, allocations: 499.3 kB / 1.454 GB, free: 8.723 MB / 1.139 GB Notification: Performance of pre-optimization done (n=78): time 2.225e-06/1.22, allocations: 0 / 1.454 GB, free: 8.723 MB / 1.139 GB Notification: Performance of matching and sorting (n=78): time 0.003541/1.224, allocations: 1.214 MB / 1.455 GB, free: 7.484 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/1.224, allocations: 188.6 kB / 1.455 GB, free: 7.258 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.225, allocations: 0.8302 MB / 1.456 GB, free: 6.402 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/1.225, allocations: 41.64 kB / 1.456 GB, free: 6.355 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005096/1.226, allocations: 0.5242 MB / 1.456 GB, free: 5.824 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/1.226, allocations: 269.8 kB / 1.457 GB, free: 5.559 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/1.227, allocations: 146.6 kB / 1.457 GB, free: 5.41 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.227, allocations: 330 kB / 1.457 GB, free: 5.082 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/1.227, allocations: 241.9 kB / 1.457 GB, free: 4.844 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/1.228, allocations: 366.5 kB / 1.458 GB, free: 4.465 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/1.229, allocations: 0.576 MB / 1.458 GB, free: 3.879 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.229, allocations: 4 kB / 1.458 GB, free: 3.875 MB / 1.139 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002059/1.231, allocations: 0.814 MB / 1.459 GB, free: 3.047 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.231, allocations: 4 kB / 1.459 GB, free: 3.043 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.231, allocations: 7.938 kB / 1.459 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/1.232, allocations: 88.8 kB / 1.459 GB, free: 2.945 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/1.232, allocations: 143.8 kB / 1.459 GB, free: 2.805 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/1.235, allocations: 1.647 MB / 1.461 GB, free: 1.02 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007395/1.236, allocations: 87.59 kB / 1.461 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/1.236, allocations: 27.98 kB / 1.461 GB, free: 0.9062 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.0005418/1.236, allocations: 307.7 kB / 1.461 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/1.236, allocations: 111.3 kB / 1.461 GB, free: 500 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/1.239, allocations: 1.068 MB / 1.462 GB, free: 15.41 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/1.239, allocations: 19.88 kB / 1.462 GB, free: 15.39 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/1.239, allocations: 0 / 1.462 GB, free: 15.39 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.239, allocations: 3.984 kB / 1.462 GB, free: 15.39 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/1.24, allocations: 1.017 MB / 1.463 GB, free: 14.32 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.24, allocations: 0 / 1.463 GB, free: 14.32 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/1.241, allocations: 139.8 kB / 1.464 GB, free: 14.18 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004668/1.241, allocations: 76.78 kB / 1.464 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/1.241, allocations: 23.98 kB / 1.464 GB, free: 14.08 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/1.244, allocations: 1.681 MB / 1.465 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.244, allocations: 4 kB / 1.465 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/1.246, allocations: 0.9479 MB / 1.466 GB, free: 11.28 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006011/1.246, allocations: 296 kB / 1.466 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/1.247, allocations: 20 kB / 1.466 GB, free: 10.95 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/1.247, allocations: 67.92 kB / 1.467 GB, free: 10.89 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/1.247, allocations: 68.84 kB / 1.467 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.799e-05/1.248, allocations: 44.05 kB / 1.467 GB, free: 10.77 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000972/1.248, allocations: 0.5704 MB / 1.467 GB, free: 10.19 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.248, allocations: 0 / 1.467 GB, free: 10.19 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001187/1.25, allocations: 351 kB / 1.468 GB, free: 9.848 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.004466/1.254, allocations: 1.992 MB / 1.469 GB, free: 8.004 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001794/1.256, allocations: 0.7689 MB / 1.47 GB, free: 7.223 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.256, allocations: 3.938 kB / 1.47 GB, free: 7.219 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009704/1.257, allocations: 496.2 kB / 1.471 GB, free: 6.727 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/1.259, allocations: 474.8 kB / 1.471 GB, free: 6.293 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/1.271, allocations: 7.081 MB / 1.478 GB, free: 15.06 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008436/1.272, allocations: 1.106 MB / 1.479 GB, free: 13.93 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009741/1.273, allocations: 287.7 kB / 1.479 GB, free: 13.64 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007277/1.274, allocations: 475.2 kB / 1.48 GB, free: 13.18 MB / 1.17 GB Notification: Performance of SimCode: time 1.252e-06/1.274, allocations: 0 / 1.48 GB, free: 13.18 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06267/1.336, allocations: 26.24 MB / 1.506 GB, free: 3.223 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.62, allocations: 15.98 kB / 1.506 GB, free: 3.207 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: 22.28739835997112]