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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005134/0.005134, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001291/0.001291, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.013/3.013, allocations: 469.8 MB / 0.7425 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 63.91 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3146, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007639/0.3222, allocations: 5.619 MB / 1.226 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8051/1.127, allocations: 150.9 MB / 1.373 GB, free: 10.33 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/1.129, allocations: 26.75 kB / 1.373 GB, free: 10.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009465/1.13, allocations: 361.2 kB / 1.373 GB, free: 10.1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/1.131, allocations: 0.5639 MB / 1.374 GB, free: 9.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/1.134, allocations: 0.8807 MB / 1.375 GB, free: 9.309 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002185/1.136, allocations: 1.56 MB / 1.376 GB, free: 8.496 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/1.137, allocations: 0.7733 MB / 1.377 GB, free: 8.086 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008712/1.138, allocations: 0.5324 MB / 1.378 GB, free: 7.809 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000703/1.139, allocations: 0.5659 MB / 1.378 GB, free: 7.496 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/1.139, allocations: 131.7 kB / 1.378 GB, free: 7.496 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/1.14, allocations: 0.495 MB / 1.379 GB, free: 7.375 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003373/1.14, allocations: 338 kB / 1.379 GB, free: 7.156 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006791/1.141, allocations: 0.6652 MB / 1.38 GB, free: 6.695 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/1.144, allocations: 1.923 MB / 1.382 GB, free: 5.445 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.144, allocations: 1.094 kB / 1.382 GB, free: 5.445 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/1.144, allocations: 0 / 1.382 GB, free: 5.445 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.654e-05/1.144, allocations: 4 kB / 1.382 GB, free: 5.441 MB / 1.076 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.003241/1.147, allocations: 1.729 MB / 1.383 GB, free: 4.074 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.147, allocations: 9.594 kB / 1.383 GB, free: 4.074 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/1.147, allocations: 154.9 kB / 1.383 GB, free: 3.949 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/1.148, allocations: 227.4 kB / 1.384 GB, free: 3.836 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/1.15, allocations: 0.9243 MB / 1.385 GB, free: 3.094 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.415e-05/1.15, allocations: 74.41 kB / 1.385 GB, free: 3.062 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/1.15, allocations: 95.38 kB / 1.385 GB, free: 3.031 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/1.152, allocations: 1.031 MB / 1.386 GB, free: 2.379 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/1.152, allocations: 5 kB / 1.386 GB, free: 2.375 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-05/1.152, allocations: 41.66 kB / 1.386 GB, free: 2.344 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/1.152, allocations: 23.94 kB / 1.386 GB, free: 2.344 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/1.154, allocations: 1.167 MB / 1.387 GB, free: 1.789 MB / 1.076 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.004975/1.159, allocations: 3.016 MB / 1.39 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/1.161, allocations: 0.7925 MB / 1.391 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/1.161, allocations: 304.8 kB / 1.391 GB, free: 14.84 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-05/1.161, allocations: 34.84 kB / 1.391 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009247/1.162, allocations: 489.7 kB / 1.391 GB, free: 14.52 MB / 1.092 GB Notification: Performance of pre-optimization done (n=78): time 2.355e-06/1.162, allocations: 0 / 1.391 GB, free: 14.52 MB / 1.092 GB Notification: Performance of matching and sorting (n=78): time 0.003419/1.166, allocations: 1.216 MB / 1.393 GB, free: 13.85 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.166, allocations: 188.8 kB / 1.393 GB, free: 13.63 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.167, allocations: 0.7949 MB / 1.394 GB, free: 13.16 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/1.167, allocations: 51.08 kB / 1.394 GB, free: 13.12 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005021/1.168, allocations: 0.5183 MB / 1.394 GB, free: 12.66 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/1.168, allocations: 268.8 kB / 1.394 GB, free: 12.42 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/1.168, allocations: 142.9 kB / 1.395 GB, free: 12.34 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.168, allocations: 340.5 kB / 1.395 GB, free: 12 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005136/1.169, allocations: 239.7 kB / 1.395 GB, free: 11.89 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/1.17, allocations: 360.7 kB / 1.395 GB, free: 11.66 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/1.171, allocations: 0.5814 MB / 1.396 GB, free: 11.34 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.171, allocations: 0 / 1.396 GB, free: 11.34 MB / 1.092 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002067/1.173, allocations: 0.8174 MB / 1.397 GB, free: 10.91 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.173, allocations: 5.5 kB / 1.397 GB, free: 10.91 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.173, allocations: 1.375 kB / 1.397 GB, free: 10.91 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/1.174, allocations: 84.81 kB / 1.397 GB, free: 10.87 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/1.174, allocations: 149.1 kB / 1.397 GB, free: 10.83 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/1.177, allocations: 1.642 MB / 1.399 GB, free: 9.223 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/1.178, allocations: 90.34 kB / 1.399 GB, free: 9.164 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/1.178, allocations: 32.08 kB / 1.399 GB, free: 9.152 MB / 1.092 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.0006669/1.178, allocations: 297.2 kB / 1.399 GB, free: 8.922 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/1.179, allocations: 103 kB / 1.399 GB, free: 8.867 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/1.181, allocations: 1.074 MB / 1.4 GB, free: 8.27 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.181, allocations: 8.812 kB / 1.4 GB, free: 8.27 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.181, allocations: 5.75 kB / 1.4 GB, free: 8.266 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/1.181, allocations: 7.969 kB / 1.4 GB, free: 8.258 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/1.183, allocations: 1.004 MB / 1.401 GB, free: 7.512 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.183, allocations: 0 / 1.401 GB, free: 7.512 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/1.183, allocations: 144.2 kB / 1.401 GB, free: 7.477 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/1.184, allocations: 73.67 kB / 1.401 GB, free: 7.438 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/1.184, allocations: 23.89 kB / 1.401 GB, free: 7.422 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/1.186, allocations: 1.685 MB / 1.403 GB, free: 5.777 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.186, allocations: 0 / 1.403 GB, free: 5.777 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/1.188, allocations: 0.9477 MB / 1.404 GB, free: 5.27 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004851/1.189, allocations: 294.2 kB / 1.404 GB, free: 5.016 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.189, allocations: 27.2 kB / 1.404 GB, free: 4.992 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/1.189, allocations: 61.72 kB / 1.404 GB, free: 4.965 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/1.19, allocations: 69.48 kB / 1.404 GB, free: 4.926 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/1.19, allocations: 40.11 kB / 1.404 GB, free: 4.91 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008016/1.19, allocations: 0.5551 MB / 1.405 GB, free: 4.582 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.6e-07/1.19, allocations: 0 / 1.405 GB, free: 4.582 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009785/1.191, allocations: 352.8 kB / 1.405 GB, free: 4.469 MB / 1.092 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.004062/1.196, allocations: 1.999 MB / 1.407 GB, free: 3.234 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001628/1.197, allocations: 0.7963 MB / 1.408 GB, free: 2.809 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.197, allocations: 0 / 1.408 GB, free: 2.809 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/1.198, allocations: 0.517 MB / 1.409 GB, free: 2.516 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.2, allocations: 472.8 kB / 1.409 GB, free: 2.289 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/1.213, allocations: 7 MB / 1.416 GB, free: 12.35 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009728/1.214, allocations: 1.098 MB / 1.417 GB, free: 11.22 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001074/1.215, allocations: 287.7 kB / 1.417 GB, free: 10.94 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007572/1.216, allocations: 467.2 kB / 1.418 GB, free: 10.48 MB / 1.107 GB Notification: Performance of SimCode: time 6.92e-07/1.216, allocations: 0 / 1.418 GB, free: 10.48 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07342/1.289, allocations: 25.8 MB / 1.443 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/15.14, allocations: 3.75 kB / 1.443 GB, free: 0.9922 MB / 1.123 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv","/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) Reference file matches