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.008202/0.008202, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001908/0.001908, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.782/2.782, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 63.84 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3063, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007718/0.3141, allocations: 5.633 MB / 1.172 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8002/1.114, allocations: 150.9 MB / 1.319 GB, free: 9.473 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000925/1.115, allocations: 26.84 kB / 1.319 GB, free: 9.461 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008382/1.116, allocations: 356 kB / 1.319 GB, free: 9.316 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/1.118, allocations: 0.5664 MB / 1.32 GB, free: 9.055 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/1.12, allocations: 0.8756 MB / 1.321 GB, free: 8.895 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001645/1.122, allocations: 1.559 MB / 1.322 GB, free: 8.598 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/1.123, allocations: 0.7652 MB / 1.323 GB, free: 8.391 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007226/1.123, allocations: 0.5343 MB / 1.324 GB, free: 8.266 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006919/1.124, allocations: 0.5717 MB / 1.324 GB, free: 8.102 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/1.124, allocations: 131.2 kB / 1.324 GB, free: 8.102 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009992/1.125, allocations: 0.4935 MB / 1.325 GB, free: 8.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003421/1.126, allocations: 340.3 kB / 1.325 GB, free: 7.926 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006729/1.126, allocations: 0.6578 MB / 1.326 GB, free: 7.473 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002891/1.129, allocations: 1.931 MB / 1.328 GB, free: 6.637 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.129, allocations: 1.781 kB / 1.328 GB, free: 6.637 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.013e-06/1.129, allocations: 0 / 1.328 GB, free: 6.637 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.791e-05/1.129, allocations: 3.75 kB / 1.328 GB, free: 6.637 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.003339/1.133, allocations: 1.726 MB / 1.329 GB, free: 5.461 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.133, allocations: 13.75 kB / 1.329 GB, free: 5.457 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/1.133, allocations: 156.2 kB / 1.329 GB, free: 5.355 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/1.134, allocations: 221.9 kB / 1.33 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.135, allocations: 0.9236 MB / 1.331 GB, free: 4.695 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/1.135, allocations: 77.64 kB / 1.331 GB, free: 4.664 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.135, allocations: 94.91 kB / 1.331 GB, free: 4.633 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/1.137, allocations: 1.033 MB / 1.332 GB, free: 4.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/1.138, allocations: 5 kB / 1.332 GB, free: 4.156 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/1.138, allocations: 42.38 kB / 1.332 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/1.138, allocations: 24.69 kB / 1.332 GB, free: 4.125 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/1.14, allocations: 1.169 MB / 1.333 GB, free: 3.852 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.00491/1.145, allocations: 3.011 MB / 1.336 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/1.147, allocations: 0.796 MB / 1.337 GB, free: 1.746 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/1.147, allocations: 300.5 kB / 1.337 GB, free: 1.629 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/1.147, allocations: 34.06 kB / 1.337 GB, free: 1.617 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009625/1.148, allocations: 488.3 kB / 1.337 GB, free: 1.418 MB / 1.014 GB Notification: Performance of pre-optimization done (n=78): time 2.164e-06/1.148, allocations: 0 / 1.337 GB, free: 1.418 MB / 1.014 GB Notification: Performance of matching and sorting (n=78): time 0.003321/1.152, allocations: 1.214 MB / 1.339 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.152, allocations: 190 kB / 1.339 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/1.153, allocations: 0.7968 MB / 1.34 GB, free: 340 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/1.153, allocations: 43.02 kB / 1.34 GB, free: 296 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004908/1.153, allocations: 0.5224 MB / 1.34 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/1.154, allocations: 263.6 kB / 1.34 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/1.154, allocations: 149.9 kB / 1.341 GB, free: 15.59 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000178/1.154, allocations: 334.7 kB / 1.341 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/1.155, allocations: 250.4 kB / 1.341 GB, free: 15.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/1.155, allocations: 353.8 kB / 1.341 GB, free: 15 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.157, allocations: 0.5783 MB / 1.342 GB, free: 14.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.157, allocations: 0 / 1.342 GB, free: 14.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002004/1.159, allocations: 0.8189 MB / 1.343 GB, free: 14.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.159, allocations: 9.719 kB / 1.343 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.159, allocations: 1.125 kB / 1.343 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/1.159, allocations: 83.19 kB / 1.343 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/1.16, allocations: 150.2 kB / 1.343 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/1.162, allocations: 1.651 MB / 1.345 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007851/1.163, allocations: 92 kB / 1.345 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/1.163, allocations: 27.5 kB / 1.345 GB, free: 12.75 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.0005942/1.164, allocations: 289 kB / 1.345 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/1.164, allocations: 110.7 kB / 1.345 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/1.166, allocations: 1.076 MB / 1.346 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.166, allocations: 9.562 kB / 1.346 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.166, allocations: 3.938 kB / 1.346 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/1.166, allocations: 4.359 kB / 1.346 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/1.168, allocations: 1.012 MB / 1.347 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.168, allocations: 0 / 1.347 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/1.168, allocations: 141.9 kB / 1.347 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/1.169, allocations: 78.84 kB / 1.347 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/1.169, allocations: 24.31 kB / 1.347 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/1.171, allocations: 1.673 MB / 1.349 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.171, allocations: 1.094 kB / 1.349 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/1.173, allocations: 0.9455 MB / 1.35 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/1.174, allocations: 299.6 kB / 1.35 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/1.174, allocations: 20.88 kB / 1.35 GB, free: 9.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/1.174, allocations: 64.5 kB / 1.35 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/1.175, allocations: 72.67 kB / 1.35 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/1.175, allocations: 37.88 kB / 1.35 GB, free: 9.227 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008144/1.176, allocations: 0.5597 MB / 1.351 GB, free: 8.977 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.91e-07/1.176, allocations: 0 / 1.351 GB, free: 8.977 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001004/1.177, allocations: 345.1 kB / 1.351 GB, free: 8.879 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.004236/1.181, allocations: 1.999 MB / 1.353 GB, free: 7.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.183, allocations: 0.7984 MB / 1.354 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.183, allocations: 0 / 1.354 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009808/1.184, allocations: 0.5093 MB / 1.355 GB, free: 7.188 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/1.185, allocations: 468.8 kB / 1.355 GB, free: 7.051 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.197, allocations: 7.005 MB / 1.362 GB, free: 3.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/1.197, allocations: 1.096 MB / 1.363 GB, free: 2.188 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009547/1.198, allocations: 287.4 kB / 1.363 GB, free: 2.043 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/1.199, allocations: 464.5 kB / 1.364 GB, free: 1.664 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/1.199, allocations: 0 / 1.364 GB, free: 1.664 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06606/1.265, allocations: 25.81 MB / 1.389 GB, free: 272 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/15.1, allocations: 6.594 kB / 1.389 GB, free: 268 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