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.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.0013/0.0013, allocations: 105.8 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.001317/0.001317, 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.47/1.47, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7611 GB, free: 15.81 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.89 kB / 1.104 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.045, allocations: 168.7 MB / 1.269 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007151/1.052, allocations: 5.642 MB / 1.274 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2023/1.254, allocations: 151.3 MB / 1.422 GB, free: 3.285 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/1.256, allocations: 28.31 kB / 1.422 GB, free: 3.273 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/1.257, allocations: 367.1 kB / 1.422 GB, free: 2.949 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002364/1.26, allocations: 0.5651 MB / 1.423 GB, free: 2.523 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/1.262, allocations: 0.8744 MB / 1.424 GB, free: 1.855 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002492/1.264, allocations: 1.554 MB / 1.425 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009925/1.265, allocations: 0.5137 MB / 1.426 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/1.266, allocations: 0.5383 MB / 1.426 GB, free: 164 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007692/1.267, allocations: 0.5707 MB / 1.427 GB, free: 15.74 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001943/1.267, allocations: 135.6 kB / 1.427 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/1.268, allocations: 496 kB / 1.428 GB, free: 15.56 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003583/1.269, allocations: 339.6 kB / 1.428 GB, free: 15.29 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006813/1.27, allocations: 0.6604 MB / 1.428 GB, free: 14.79 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/1.272, allocations: 1.927 MB / 1.43 GB, free: 13.38 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.272, allocations: 8.969 kB / 1.43 GB, free: 13.37 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.873e-06/1.272, allocations: 0 / 1.43 GB, free: 13.37 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.072e-05/1.272, allocations: 0 / 1.43 GB, free: 13.37 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.00315/1.275, allocations: 1.725 MB / 1.432 GB, free: 12 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/1.275, allocations: 10.03 kB / 1.432 GB, free: 12 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001988/1.276, allocations: 154.5 kB / 1.432 GB, free: 11.88 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/1.277, allocations: 225.8 kB / 1.432 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/1.278, allocations: 0.9241 MB / 1.433 GB, free: 11.02 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/1.279, allocations: 73.88 kB / 1.433 GB, free: 10.99 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/1.279, allocations: 100.6 kB / 1.433 GB, free: 10.96 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/1.28, allocations: 1.033 MB / 1.434 GB, free: 10.3 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/1.281, allocations: 0 / 1.434 GB, free: 10.3 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/1.281, allocations: 42.88 kB / 1.435 GB, free: 10.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/1.281, allocations: 27.22 kB / 1.435 GB, free: 10.27 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/1.283, allocations: 1.167 MB / 1.436 GB, free: 9.715 MB / 1.123 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.005141/1.288, allocations: 3.017 MB / 1.439 GB, free: 6.957 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/1.289, allocations: 0.7508 MB / 1.439 GB, free: 6.203 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005571/1.29, allocations: 282.6 kB / 1.44 GB, free: 5.918 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.937e-05/1.29, allocations: 28.61 kB / 1.44 GB, free: 5.891 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009505/1.291, allocations: 499.2 kB / 1.44 GB, free: 5.383 MB / 1.123 GB Notification: Performance of pre-optimization done (n=78): time 2.354e-06/1.291, allocations: 0 / 1.44 GB, free: 5.383 MB / 1.123 GB Notification: Performance of matching and sorting (n=78): time 0.003422/1.295, allocations: 1.21 MB / 1.441 GB, free: 4.148 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.295, allocations: 188.6 kB / 1.442 GB, free: 3.922 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/1.296, allocations: 0.8046 MB / 1.442 GB, free: 3.09 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/1.296, allocations: 45.69 kB / 1.442 GB, free: 3.039 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007077/1.297, allocations: 0.5164 MB / 1.443 GB, free: 2.516 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/1.297, allocations: 261.8 kB / 1.443 GB, free: 2.258 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/1.297, allocations: 146.6 kB / 1.443 GB, free: 2.109 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.298, allocations: 337.9 kB / 1.444 GB, free: 1.773 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007898/1.298, allocations: 241.9 kB / 1.444 GB, free: 1.535 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009893/1.299, allocations: 354.6 kB / 1.444 GB, free: 1.164 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/1.301, allocations: 0.5799 MB / 1.445 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.301, allocations: 0 / 1.445 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003266/1.305, allocations: 0.8217 MB / 1.445 GB, free: 15.74 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.305, allocations: 7.938 kB / 1.446 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.305, allocations: 4 kB / 1.446 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000865/1.305, allocations: 84.81 kB / 1.446 GB, free: 15.64 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/1.307, allocations: 143.8 kB / 1.446 GB, free: 15.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003468/1.31, allocations: 1.648 MB / 1.447 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/1.311, allocations: 91.53 kB / 1.447 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/1.311, allocations: 31.97 kB / 1.447 GB, free: 13.59 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.0008198/1.312, allocations: 289.6 kB / 1.448 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000372/1.313, allocations: 107.5 kB / 1.448 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/1.316, allocations: 1.079 MB / 1.449 GB, free: 12.11 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.316, allocations: 11.94 kB / 1.449 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.316, allocations: 0 / 1.449 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/1.316, allocations: 3.984 kB / 1.449 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/1.319, allocations: 1.005 MB / 1.45 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/1.319, allocations: 4 kB / 1.45 GB, free: 11.03 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009975/1.32, allocations: 135.8 kB / 1.45 GB, free: 10.9 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006467/1.32, allocations: 72.78 kB / 1.45 GB, free: 10.82 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/1.32, allocations: 31.97 kB / 1.45 GB, free: 10.79 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/1.323, allocations: 1.678 MB / 1.452 GB, free: 8.965 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.323, allocations: 4.062 kB / 1.452 GB, free: 8.961 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003325/1.327, allocations: 0.9556 MB / 1.453 GB, free: 7.988 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007783/1.327, allocations: 300 kB / 1.453 GB, free: 7.676 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/1.328, allocations: 20 kB / 1.453 GB, free: 7.656 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009468/1.329, allocations: 55.94 kB / 1.453 GB, free: 7.602 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002341/1.329, allocations: 76.83 kB / 1.453 GB, free: 7.523 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.329, allocations: 31.98 kB / 1.453 GB, free: 7.492 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001325/1.33, allocations: 0.562 MB / 1.454 GB, free: 6.918 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.33, allocations: 0 / 1.454 GB, free: 6.918 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001459/1.332, allocations: 347 kB / 1.454 GB, free: 6.578 MB / 1.139 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.006262/1.338, allocations: 1.994 MB / 1.456 GB, free: 4.742 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0026/1.341, allocations: 0.7726 MB / 1.457 GB, free: 3.957 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.341, allocations: 0 / 1.457 GB, free: 3.957 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.342, allocations: 0.4887 MB / 1.457 GB, free: 3.461 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/1.345, allocations: 472.3 kB / 1.458 GB, free: 3.039 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/1.364, allocations: 6.997 MB / 1.464 GB, free: 11.88 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.365, allocations: 1.102 MB / 1.466 GB, free: 10.75 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001604/1.366, allocations: 279.8 kB / 1.466 GB, free: 10.47 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.368, allocations: 467.2 kB / 1.466 GB, free: 10.02 MB / 1.154 GB Notification: Performance of SimCode: time 7.12e-07/1.368, allocations: 4 kB / 1.466 GB, free: 10.01 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/1.474, allocations: 25.94 MB / 1.492 GB, free: 364 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.56, allocations: 6.734 kB / 1.492 GB, free: 360 kB / 1.17 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_2/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.073710481170565]