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.005391/0.00539, allocations: 101.6 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001285, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.67/2.67, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.91 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3014, allocations: 151.6 MB / 1.166 GB, free: 7.387 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008471/0.3099, allocations: 5.639 MB / 1.172 GB, free: 1.715 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9174/1.227, allocations: 150.9 MB / 1.319 GB, free: 9.164 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/1.229, allocations: 26.81 kB / 1.319 GB, free: 9.152 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002097/1.231, allocations: 359.3 kB / 1.319 GB, free: 9.012 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004441/1.236, allocations: 0.5656 MB / 1.32 GB, free: 8.75 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/1.24, allocations: 0.8787 MB / 1.321 GB, free: 8.59 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003739/1.244, allocations: 1.556 MB / 1.322 GB, free: 8.297 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/1.247, allocations: 0.7654 MB / 1.323 GB, free: 8.09 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/1.249, allocations: 0.5444 MB / 1.324 GB, free: 7.961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/1.251, allocations: 0.5674 MB / 1.324 GB, free: 7.797 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006286/1.251, allocations: 131.6 kB / 1.324 GB, free: 7.797 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/1.254, allocations: 0.495 MB / 1.325 GB, free: 7.766 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007529/1.254, allocations: 339.7 kB / 1.325 GB, free: 7.691 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/1.256, allocations: 0.6634 MB / 1.326 GB, free: 7.406 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004731/1.261, allocations: 1.927 MB / 1.328 GB, free: 6.574 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/1.261, allocations: 0.5156 kB / 1.328 GB, free: 6.574 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/1.261, allocations: 1.25 kB / 1.328 GB, free: 6.574 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.243e-05/1.261, allocations: 0 / 1.328 GB, free: 6.574 MB / 1.014 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.006254/1.267, allocations: 1.73 MB / 1.329 GB, free: 5.395 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.267, allocations: 9.5 kB / 1.329 GB, free: 5.395 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004673/1.268, allocations: 150.4 kB / 1.329 GB, free: 5.297 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/1.269, allocations: 230 kB / 1.33 GB, free: 5.207 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/1.272, allocations: 0.9251 MB / 1.331 GB, free: 4.629 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/1.272, allocations: 75.12 kB / 1.331 GB, free: 4.598 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/1.272, allocations: 92.41 kB / 1.331 GB, free: 4.57 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/1.276, allocations: 1.032 MB / 1.332 GB, free: 4.102 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/1.276, allocations: 2.344 kB / 1.332 GB, free: 4.102 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/1.276, allocations: 46.5 kB / 1.332 GB, free: 4.066 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/1.276, allocations: 24.5 kB / 1.332 GB, free: 4.066 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/1.278, allocations: 1.173 MB / 1.333 GB, free: 3.789 MB / 1.014 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.005107/1.284, allocations: 3.011 MB / 1.336 GB, free: 1.996 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/1.285, allocations: 0.7943 MB / 1.337 GB, free: 1.684 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005631/1.286, allocations: 306.5 kB / 1.337 GB, free: 1.562 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.313e-05/1.286, allocations: 31.92 kB / 1.337 GB, free: 1.551 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008562/1.287, allocations: 493.4 kB / 1.337 GB, free: 1.348 MB / 1.014 GB Notification: Performance of pre-optimization done (n=78): time 2.364e-06/1.287, allocations: 0 / 1.337 GB, free: 1.348 MB / 1.014 GB Notification: Performance of matching and sorting (n=78): time 0.003214/1.29, allocations: 1.21 MB / 1.339 GB, free: 0.832 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/1.29, allocations: 192.8 kB / 1.339 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/1.291, allocations: 0.7984 MB / 1.34 GB, free: 268 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/1.291, allocations: 37.8 kB / 1.34 GB, free: 228 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000446/1.292, allocations: 0.5227 MB / 1.34 GB, free: 15.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/1.292, allocations: 266.1 kB / 1.34 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.292, allocations: 144.4 kB / 1.341 GB, free: 15.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.292, allocations: 338.9 kB / 1.341 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/1.293, allocations: 246 kB / 1.341 GB, free: 15.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006524/1.294, allocations: 359.1 kB / 1.341 GB, free: 14.94 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/1.295, allocations: 0.5752 MB / 1.342 GB, free: 14.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.295, allocations: 1.062 kB / 1.342 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002061/1.297, allocations: 0.8161 MB / 1.343 GB, free: 14.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.297, allocations: 5.906 kB / 1.343 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.297, allocations: 4.656 kB / 1.343 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005838/1.297, allocations: 82.97 kB / 1.343 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/1.298, allocations: 159.5 kB / 1.343 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/1.3, allocations: 1.645 MB / 1.345 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/1.301, allocations: 93.44 kB / 1.345 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.301, allocations: 30.52 kB / 1.345 GB, free: 12.69 MB / 1.029 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.0007176/1.302, allocations: 289.3 kB / 1.345 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003977/1.302, allocations: 104.8 kB / 1.345 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/1.305, allocations: 1.069 MB / 1.346 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/1.305, allocations: 14.25 kB / 1.346 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.305, allocations: 3.938 kB / 1.346 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.305, allocations: 4.453 kB / 1.346 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/1.307, allocations: 1.015 MB / 1.347 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.307, allocations: 0 / 1.347 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/1.308, allocations: 140.5 kB / 1.347 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/1.308, allocations: 74.27 kB / 1.347 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.679e-05/1.308, allocations: 24.77 kB / 1.347 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/1.31, allocations: 1.685 MB / 1.349 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.31, allocations: 0 / 1.349 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/1.313, allocations: 0.9461 MB / 1.35 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/1.313, allocations: 294.2 kB / 1.35 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/1.313, allocations: 17.72 kB / 1.35 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007145/1.314, allocations: 65.02 kB / 1.35 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/1.314, allocations: 73.08 kB / 1.35 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.595e-05/1.314, allocations: 33.94 kB / 1.35 GB, free: 9.168 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001033/1.315, allocations: 0.559 MB / 1.351 GB, free: 8.918 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.315, allocations: 0 / 1.351 GB, free: 8.918 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001294/1.317, allocations: 344.5 kB / 1.351 GB, free: 8.82 MB / 1.029 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.004287/1.321, allocations: 2.01 MB / 1.353 GB, free: 7.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002079/1.323, allocations: 0.7934 MB / 1.354 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.323, allocations: 5.656 kB / 1.354 GB, free: 7.367 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/1.324, allocations: 0.5099 MB / 1.355 GB, free: 7.129 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.326, allocations: 467.9 kB / 1.355 GB, free: 6.996 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/1.34, allocations: 7.002 MB / 1.362 GB, free: 3.035 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00084/1.341, allocations: 1.098 MB / 1.363 GB, free: 2.164 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001269/1.342, allocations: 289.1 kB / 1.363 GB, free: 2.016 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.343, allocations: 468.3 kB / 1.364 GB, free: 1.637 MB / 1.029 GB Notification: Performance of SimCode: time 1.714e-06/1.343, allocations: 0 / 1.364 GB, free: 1.637 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/1.43, allocations: 25.8 MB / 1.389 GB, free: 244 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/15, allocations: 7.875 kB / 1.389 GB, free: 236 kB / 1.045 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