Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_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.001594/0.001594, 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.00214/0.00214, 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.3 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 63.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5905/0.5929, allocations: 140.4 MB / 0.9497 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1859/0.7789, allocations: 181.8 MB / 1.127 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00697/0.7859, allocations: 4.447 MB / 1.132 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008809/0.7868, allocations: 23.81 kB / 1.132 GB, free: 6.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008632/0.7877, allocations: 246.1 kB / 1.132 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002413/0.7902, allocations: 0.7619 MB / 1.133 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003959/0.7942, allocations: 1.509 MB / 1.134 GB, free: 4.383 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001772/0.796, allocations: 1.254 MB / 1.135 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008356/0.7968, allocations: 449.3 kB / 1.136 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.798, allocations: 0.5682 MB / 1.136 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.7987, allocations: 410.2 kB / 1.137 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.7988, allocations: 48 kB / 1.137 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002921/0.8017, allocations: 1.539 MB / 1.138 GB, free: 128 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.802, allocations: 187.6 kB / 1.138 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.8024, allocations: 310.4 kB / 1.139 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.8047, allocations: 1.29 MB / 1.14 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.8047, allocations: 0 / 1.14 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8048, allocations: 3.938 kB / 1.14 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.8048, allocations: 0 / 1.14 GB, free: 14.34 MB / 0.9044 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.001903/0.8067, allocations: 1.017 MB / 1.141 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.8067, allocations: 12.03 kB / 1.141 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.13e-05/0.8068, allocations: 82.52 kB / 1.141 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/0.809, allocations: 286.9 kB / 1.141 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.8098, allocations: 437.4 kB / 1.142 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.8098, allocations: 36.98 kB / 1.142 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.8099, allocations: 44 kB / 1.142 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.811, allocations: 0.5468 MB / 1.142 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.811, allocations: 4 kB / 1.142 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.441e-05/0.8111, allocations: 23.94 kB / 1.142 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.8111, allocations: 12 kB / 1.142 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.8121, allocations: 455.5 kB / 1.143 GB, free: 11.26 MB / 0.9044 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.002523/0.8147, allocations: 2.123 MB / 1.145 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000988/0.8157, allocations: 406.4 kB / 1.145 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.8162, allocations: 229.3 kB / 1.145 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006567/0.8168, allocations: 404.1 kB / 1.146 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006038/0.8175, allocations: 298.8 kB / 1.146 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=37): time 2.344e-06/0.8175, allocations: 0 / 1.146 GB, free: 7.598 MB / 0.9044 GB Notification: Performance of matching and sorting (n=37): time 0.001943/0.8194, allocations: 0.6836 MB / 1.147 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.8195, allocations: 67.16 kB / 1.147 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.8202, allocations: 490.1 kB / 1.147 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.106e-05/0.8203, allocations: 37.7 kB / 1.147 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.8205, allocations: 260.1 kB / 1.148 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.8206, allocations: 126.2 kB / 1.148 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.8208, allocations: 94.03 kB / 1.148 GB, free: 5.812 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.821, allocations: 362.8 kB / 1.148 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/0.8215, allocations: 196.8 kB / 1.148 GB, free: 5.258 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.8221, allocations: 316 kB / 1.149 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.8232, allocations: 0.5412 MB / 1.149 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.8232, allocations: 3.938 kB / 1.149 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001407/0.8246, allocations: 0.648 MB / 1.15 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.8247, allocations: 64.95 kB / 1.15 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.8247, allocations: 4 kB / 1.15 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.8247, allocations: 8.359 kB / 1.15 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.8252, allocations: 95.88 kB / 1.15 GB, free: 3.465 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.8252, allocations: 15.88 kB / 1.15 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/0.8258, allocations: 71.48 kB / 1.15 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.8258, allocations: 20 kB / 1.15 GB, free: 3.359 MB / 0.9044 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.0002399/0.8261, allocations: 198.2 kB / 1.15 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.8262, allocations: 51.34 kB / 1.15 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.8275, allocations: 0.5345 MB / 1.151 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.8275, allocations: 0 / 1.151 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8275, allocations: 4 kB / 1.151 GB, free: 2.555 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.8275, allocations: 8.047 kB / 1.151 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.8298, allocations: 1.36 MB / 1.152 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.8298, allocations: 0 / 1.152 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004241/0.8302, allocations: 75.88 kB / 1.152 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.8302, allocations: 4 kB / 1.152 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.8303, allocations: 12 kB / 1.152 GB, free: 0.9961 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.8303, allocations: 7.938 kB / 1.152 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8303, allocations: 7.938 kB / 1.152 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.832, allocations: 0.95 MB / 1.153 GB, free: 15.97 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.8322, allocations: 168.3 kB / 1.153 GB, free: 15.79 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-05/0.8323, allocations: 15.98 kB / 1.153 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.8328, allocations: 31.97 kB / 1.153 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.8329, allocations: 55.88 kB / 1.154 GB, free: 15.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.8329, allocations: 16 kB / 1.154 GB, free: 15.67 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003949/0.8333, allocations: 342.8 kB / 1.154 GB, free: 15.34 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8333, allocations: 0 / 1.154 GB, free: 15.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005763/0.8339, allocations: 151.8 kB / 1.154 GB, free: 15.19 MB / 0.92 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.002307/0.8362, allocations: 1.558 MB / 1.156 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.8375, allocations: 0.5997 MB / 1.156 GB, free: 12.94 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8376, allocations: 0 / 1.156 GB, free: 12.94 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.8382, allocations: 293.1 kB / 1.156 GB, free: 12.66 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.8396, allocations: 296 kB / 1.157 GB, free: 12.37 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/0.847, allocations: 5.09 MB / 1.162 GB, free: 7.027 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.8475, allocations: 0.8665 MB / 1.162 GB, free: 6.133 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005497/0.848, allocations: 128.7 kB / 1.163 GB, free: 6.004 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.8483, allocations: 179.3 kB / 1.163 GB, free: 5.828 MB / 0.92 GB Notification: Performance of SimCode: time 6.11e-07/0.8483, allocations: 0 / 1.163 GB, free: 5.828 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03822/0.8866, allocations: 15.71 MB / 1.178 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.797, allocations: 9.719 kB / 1.178 GB, free: 6.371 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches