Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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.001798/0.001798, 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.001963/0.001963, 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.414 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 2.844/2.844, allocations: 469.8 MB / 0.7424 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 73.91 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2702, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.204/0.4742, allocations: 181.8 MB / 1.242 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006516/0.4808, allocations: 4.458 MB / 1.246 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004806/0.4813, allocations: 19.88 kB / 1.246 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.482, allocations: 242.1 kB / 1.246 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.4838, allocations: 0.7619 MB / 1.247 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.4872, allocations: 1.497 MB / 1.248 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4923/0.9795, allocations: 1.257 MB / 1.25 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007475/0.9803, allocations: 444.1 kB / 1.25 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.9813, allocations: 0.5741 MB / 1.251 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004846/0.9818, allocations: 413.2 kB / 1.251 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.255e-05/0.9819, allocations: 45 kB / 1.251 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002619/0.9846, allocations: 1.544 MB / 1.253 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.9848, allocations: 187.8 kB / 1.253 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.9851, allocations: 305.7 kB / 1.253 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.9867, allocations: 1.294 MB / 1.254 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9867, allocations: 0 / 1.254 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9867, allocations: 1.031 kB / 1.254 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.9868, allocations: 0.7812 kB / 1.254 GB, free: 6.031 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001784/0.9885, allocations: 1.016 MB / 1.255 GB, free: 21.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.9886, allocations: 9.781 kB / 1.255 GB, free: 21.39 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.895e-05/0.9887, allocations: 84.66 kB / 1.255 GB, free: 21.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.9907, allocations: 283.6 kB / 1.256 GB, free: 21.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/0.9914, allocations: 441.1 kB / 1.256 GB, free: 21.07 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.9914, allocations: 31.62 kB / 1.256 GB, free: 21.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.9915, allocations: 45.56 kB / 1.256 GB, free: 21.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008782/0.9924, allocations: 0.5486 MB / 1.257 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.9924, allocations: 4.156 kB / 1.257 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.309e-05/0.9924, allocations: 15.66 kB / 1.257 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.9924, allocations: 10.94 kB / 1.257 GB, free: 20.96 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009807/0.9934, allocations: 458 kB / 1.257 GB, free: 20.96 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.002521/0.996, allocations: 2.133 MB / 1.259 GB, free: 19.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/0.9969, allocations: 406.1 kB / 1.26 GB, free: 19.69 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.9974, allocations: 232.1 kB / 1.26 GB, free: 19.68 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007419/0.9982, allocations: 396.7 kB / 1.26 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.9988, allocations: 294.4 kB / 1.261 GB, free: 19.25 MB / 1.014 GB Notification: Performance of pre-optimization done (n=37): time 2.805e-06/0.9988, allocations: 2.812 kB / 1.261 GB, free: 19.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=37): time 0.001745/1.001, allocations: 0.6883 MB / 1.261 GB, free: 19.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/1.001, allocations: 59.55 kB / 1.261 GB, free: 19.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005197/1.001, allocations: 493.1 kB / 1.262 GB, free: 19 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/1.001, allocations: 36.45 kB / 1.262 GB, free: 18.97 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/1.001, allocations: 263.6 kB / 1.262 GB, free: 18.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.981e-05/1.001, allocations: 122.6 kB / 1.262 GB, free: 18.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/1.002, allocations: 93.34 kB / 1.262 GB, free: 18.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.002, allocations: 365.3 kB / 1.263 GB, free: 18.43 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/1.002, allocations: 196.8 kB / 1.263 GB, free: 18.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/1.003, allocations: 326.7 kB / 1.263 GB, free: 18.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009568/1.004, allocations: 0.5343 MB / 1.264 GB, free: 18.15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/1.004, allocations: 2.625 kB / 1.264 GB, free: 18.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001238/1.005, allocations: 0.6512 MB / 1.264 GB, free: 18.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/1.005, allocations: 65.28 kB / 1.264 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.005, allocations: 3.531 kB / 1.264 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.005, allocations: 8.156 kB / 1.264 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/1.006, allocations: 97.8 kB / 1.264 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/1.006, allocations: 6.672 kB / 1.264 GB, free: 17.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005543/1.006, allocations: 73.38 kB / 1.264 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/1.006, allocations: 22.48 kB / 1.264 GB, free: 17.93 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002196/1.006, allocations: 194.9 kB / 1.265 GB, free: 17.81 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/1.007, allocations: 58.12 kB / 1.265 GB, free: 17.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/1.008, allocations: 0.5385 MB / 1.265 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/1.008, allocations: 6 kB / 1.265 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.008, allocations: 0.8125 kB / 1.265 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.008, allocations: 4.5 kB / 1.265 GB, free: 17.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/1.01, allocations: 1.347 MB / 1.267 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.01, allocations: 4.25 kB / 1.267 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/1.01, allocations: 73.7 kB / 1.267 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/1.01, allocations: 11.12 kB / 1.267 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/1.01, allocations: 14.36 kB / 1.267 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/1.011, allocations: 7.812 kB / 1.267 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.011, allocations: 5.172 kB / 1.267 GB, free: 17.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.012, allocations: 0.9373 MB / 1.268 GB, free: 17.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002318/1.013, allocations: 171.5 kB / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/1.013, allocations: 11.55 kB / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004695/1.013, allocations: 36.77 kB / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/1.013, allocations: 49.34 kB / 1.268 GB, free: 16.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/1.013, allocations: 16.86 kB / 1.268 GB, free: 16.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000454/1.014, allocations: 345.7 kB / 1.268 GB, free: 16.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.91e-07/1.014, allocations: 0.5625 kB / 1.268 GB, free: 16.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006119/1.014, allocations: 150.4 kB / 1.268 GB, free: 16.79 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002359/1.017, allocations: 1.587 MB / 1.27 GB, free: 15.97 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001293/1.018, allocations: 0.5992 MB / 1.27 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.018, allocations: 0 / 1.27 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006805/1.019, allocations: 295.5 kB / 1.271 GB, free: 15.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.02, allocations: 286.5 kB / 1.271 GB, free: 15.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007804/1.028, allocations: 5.097 MB / 1.276 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/1.029, allocations: 0.8697 MB / 1.277 GB, free: 12.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006115/1.029, allocations: 128.3 kB / 1.277 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/1.029, allocations: 179 kB / 1.277 GB, free: 12.94 MB / 1.014 GB Notification: Performance of SimCode: time 6.82e-07/1.029, allocations: 0 / 1.277 GB, free: 12.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0409/1.07, allocations: 15.71 MB / 1.292 GB, free: 11.83 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/9.253, allocations: 20.98 kB / 1.293 GB, free: 11.81 MB / 1.014 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches