Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.5688, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007396/0.5762, allocations: 5.627 MB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1428/0.719, allocations: 150.9 MB / 1.17 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.7201, allocations: 23.88 kB / 1.17 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.7212, allocations: 365.3 kB / 1.171 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.7233, allocations: 0.5754 MB / 1.171 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.7255, allocations: 0.8642 MB / 1.172 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.7272, allocations: 1.55 MB / 1.174 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.7284, allocations: 0.7713 MB / 1.174 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00071/0.7291, allocations: 0.5293 MB / 1.175 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006728/0.7298, allocations: 0.5714 MB / 1.175 GB, free: 88 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.73, allocations: 132 kB / 1.175 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009883/0.731, allocations: 471.6 kB / 1.176 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004234/0.7315, allocations: 334.8 kB / 1.176 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008583/0.7323, allocations: 0.6721 MB / 1.177 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.735, allocations: 1.861 MB / 1.179 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.735, allocations: 0 / 1.179 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/0.735, allocations: 0 / 1.179 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.988e-05/0.7351, allocations: 0 / 1.179 GB, free: 12.62 MB / 0.9356 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.003421/0.7385, allocations: 1.684 MB / 1.18 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.7386, allocations: 11.97 kB / 1.18 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.7388, allocations: 156.4 kB / 1.181 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/0.7397, allocations: 215 kB / 1.181 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.7409, allocations: 0.8904 MB / 1.182 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/0.741, allocations: 77.98 kB / 1.182 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.7411, allocations: 95.94 kB / 1.182 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.7426, allocations: 1.032 MB / 1.183 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.7426, allocations: 4 kB / 1.183 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/0.7427, allocations: 51.92 kB / 1.183 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.7427, allocations: 24 kB / 1.183 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.7444, allocations: 1.171 MB / 1.184 GB, free: 7.074 MB / 0.9356 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.003994/0.7484, allocations: 3.038 MB / 1.187 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.7498, allocations: 0.7933 MB / 1.188 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005021/0.7504, allocations: 298.7 kB / 1.188 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.258e-05/0.7504, allocations: 36.61 kB / 1.188 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008562/0.7513, allocations: 495 kB / 1.189 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=78): time 2.174e-06/0.7513, allocations: 0 / 1.189 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78): time 0.003018/0.7543, allocations: 1.205 MB / 1.19 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.7544, allocations: 192.5 kB / 1.19 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009264/0.7554, allocations: 0.7969 MB / 1.191 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.7554, allocations: 45.7 kB / 1.191 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.7558, allocations: 0.5078 MB / 1.191 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.756, allocations: 252.4 kB / 1.191 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.7562, allocations: 146.5 kB / 1.192 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.7563, allocations: 337.9 kB / 1.192 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.7568, allocations: 237.9 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.7574, allocations: 362.5 kB / 1.192 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.7584, allocations: 0.5799 MB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7584, allocations: 0 / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001825/0.7602, allocations: 0.825 MB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.7603, allocations: 4 kB / 1.194 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.7603, allocations: 4 kB / 1.194 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/0.7609, allocations: 88.8 kB / 1.194 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.7615, allocations: 143.8 kB / 1.194 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.7635, allocations: 1.638 MB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.7642, allocations: 88.64 kB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/0.7643, allocations: 35.97 kB / 1.196 GB, free: 10.52 MB / 0.9512 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.0004368/0.7647, allocations: 294.7 kB / 1.196 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.7649, allocations: 102.7 kB / 1.196 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.7672, allocations: 1.072 MB / 1.197 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.7673, allocations: 15.88 kB / 1.197 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.7673, allocations: 0 / 1.197 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.7673, allocations: 3.984 kB / 1.197 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.7684, allocations: 1.017 MB / 1.198 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.7685, allocations: 0 / 1.198 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/0.769, allocations: 143.8 kB / 1.198 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004516/0.7695, allocations: 68.8 kB / 1.198 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.296e-05/0.7696, allocations: 31.97 kB / 1.198 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.7717, allocations: 1.67 MB / 1.2 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.7717, allocations: 4.031 kB / 1.2 GB, free: 5.887 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.7741, allocations: 0.9394 MB / 1.201 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.7746, allocations: 291.4 kB / 1.201 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.7748, allocations: 16 kB / 1.201 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006965/0.7755, allocations: 67.92 kB / 1.201 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.7757, allocations: 72.84 kB / 1.201 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.847e-05/0.7757, allocations: 27.98 kB / 1.201 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009571/0.7767, allocations: 0.562 MB / 1.202 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7767, allocations: 0 / 1.202 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001026/0.7777, allocations: 343 kB / 1.202 GB, free: 3.527 MB / 0.9512 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.003434/0.7812, allocations: 2.003 MB / 1.204 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002299/0.7835, allocations: 0.9912 MB / 1.205 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7835, allocations: 192 / 1.205 GB, free: 0.6758 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009244/0.7845, allocations: 0.5159 MB / 1.206 GB, free: 152 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.7862, allocations: 466.6 kB / 1.206 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.7976, allocations: 7.341 MB / 1.213 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000717/0.7984, allocations: 1.102 MB / 1.214 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009848/0.7994, allocations: 287.7 kB / 1.215 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006124/0.8, allocations: 467.2 kB / 1.215 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of SimCode: time 8.62e-07/0.8, allocations: 0 / 1.215 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/0.8574, allocations: 25.48 MB / 1.24 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.79, allocations: 17.59 kB / 1.24 GB, free: 13.09 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_10_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches