Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007784/0.0007784, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008963/0.0008963, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.853/0.853, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.708/1.708, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.621e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5447/0.5447, allocations: 160.5 MB / 1.138 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003326/0.548, allocations: 4.15 MB / 1.142 GB, free: 1.812 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.5482, allocations: 27.81 kB / 1.142 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.5487, allocations: 254.1 kB / 1.142 GB, free: 1.633 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.5499, allocations: 0.7775 MB / 1.143 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.5518, allocations: 1.618 MB / 1.144 GB, free: 416 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009165/0.5527, allocations: 1.25 MB / 1.146 GB, free: 15.82 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.5532, allocations: 362.3 kB / 1.146 GB, free: 15.66 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.5544, allocations: 0.9891 MB / 1.147 GB, free: 15.24 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.5547, allocations: 354.9 kB / 1.147 GB, free: 15.12 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.5548, allocations: 45.38 kB / 1.147 GB, free: 15.12 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.5562, allocations: 1.265 MB / 1.149 GB, free: 14.64 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.5563, allocations: 197.3 kB / 1.149 GB, free: 14.55 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.5565, allocations: 213.2 kB / 1.149 GB, free: 14.47 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.558, allocations: 1.322 MB / 1.15 GB, free: 14.03 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.558, allocations: 1 kB / 1.15 GB, free: 14.03 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.313e-06/0.558, allocations: 0 / 1.15 GB, free: 14.03 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.558, allocations: 4.641 kB / 1.15 GB, free: 14.03 MB / 1.01 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.001315/0.5593, allocations: 0.9672 MB / 1.151 GB, free: 13.34 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5594, allocations: 9.969 kB / 1.151 GB, free: 13.34 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.164e-05/0.5594, allocations: 81.84 kB / 1.151 GB, free: 13.27 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.5605, allocations: 288.8 kB / 1.152 GB, free: 13.21 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005665/0.5611, allocations: 405.1 kB / 1.152 GB, free: 12.95 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.5611, allocations: 31.47 kB / 1.152 GB, free: 12.94 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.5612, allocations: 45.27 kB / 1.152 GB, free: 12.93 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.5619, allocations: 0.5447 MB / 1.153 GB, free: 12.67 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.562, allocations: 0 / 1.153 GB, free: 12.67 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.562, allocations: 22.11 kB / 1.153 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.562, allocations: 10.31 kB / 1.153 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006788/0.5627, allocations: 459 kB / 1.153 GB, free: 12.52 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.5643, allocations: 1.786 MB / 1.155 GB, free: 11.25 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.565, allocations: 389.5 kB / 1.155 GB, free: 11.13 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.5653, allocations: 214.3 kB / 1.155 GB, free: 11.07 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.5655, allocations: 95.31 kB / 1.155 GB, free: 11.06 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/0.566, allocations: 304.8 kB / 1.156 GB, free: 10.94 MB / 1.01 GB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.566, allocations: 0 / 1.156 GB, free: 10.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=37): time 0.001146/0.5671, allocations: 0.6976 MB / 1.156 GB, free: 10.71 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.5671, allocations: 61.81 kB / 1.156 GB, free: 10.65 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.5676, allocations: 495.8 kB / 1.157 GB, free: 10.42 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.5676, allocations: 33.17 kB / 1.157 GB, free: 10.39 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.5678, allocations: 268.6 kB / 1.157 GB, free: 10.17 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.5679, allocations: 133.5 kB / 1.157 GB, free: 10.06 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.568, allocations: 92.98 kB / 1.157 GB, free: 10.01 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5681, allocations: 361.6 kB / 1.158 GB, free: 9.68 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.5684, allocations: 254.8 kB / 1.158 GB, free: 9.562 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.5688, allocations: 0.4901 MB / 1.159 GB, free: 9.172 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/0.5695, allocations: 0.5466 MB / 1.159 GB, free: 8.859 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5695, allocations: 0 / 1.159 GB, free: 8.859 MB / 1.01 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009635/0.5704, allocations: 0.699 MB / 1.16 GB, free: 8.523 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.5705, allocations: 70 kB / 1.16 GB, free: 8.453 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5705, allocations: 2.719 kB / 1.16 GB, free: 8.453 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5705, allocations: 5.5 kB / 1.16 GB, free: 8.453 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.5707, allocations: 94.33 kB / 1.16 GB, free: 8.445 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5707, allocations: 10.05 kB / 1.16 GB, free: 8.441 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.571, allocations: 80.02 kB / 1.16 GB, free: 8.406 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.571, allocations: 25.73 kB / 1.16 GB, free: 8.398 MB / 1.01 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.0001595/0.5712, allocations: 186.7 kB / 1.16 GB, free: 8.25 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.5712, allocations: 62.09 kB / 1.16 GB, free: 8.215 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007415/0.572, allocations: 0.5385 MB / 1.161 GB, free: 8.008 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.572, allocations: 3.438 kB / 1.161 GB, free: 8.008 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.572, allocations: 0.8125 kB / 1.161 GB, free: 8.008 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.572, allocations: 3.312 kB / 1.161 GB, free: 8.008 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.5734, allocations: 1.263 MB / 1.162 GB, free: 7.332 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5734, allocations: 5.438 kB / 1.162 GB, free: 7.332 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.5736, allocations: 80.81 kB / 1.162 GB, free: 7.32 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5736, allocations: 5.094 kB / 1.162 GB, free: 7.32 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.5737, allocations: 19.19 kB / 1.162 GB, free: 7.312 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.5737, allocations: 9.406 kB / 1.162 GB, free: 7.309 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5737, allocations: 5.391 kB / 1.162 GB, free: 7.309 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.5747, allocations: 0.9291 MB / 1.163 GB, free: 6.828 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.5749, allocations: 96.47 kB / 1.163 GB, free: 6.777 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.5749, allocations: 25.34 kB / 1.163 GB, free: 6.762 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.5751, allocations: 33.67 kB / 1.163 GB, free: 6.758 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.5752, allocations: 50.89 kB / 1.163 GB, free: 6.742 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.5752, allocations: 17.38 kB / 1.163 GB, free: 6.738 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002769/0.5755, allocations: 346.8 kB / 1.164 GB, free: 6.582 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.5755, allocations: 0 / 1.164 GB, free: 6.582 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003772/0.5759, allocations: 156.4 kB / 1.164 GB, free: 6.555 MB / 1.01 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.001396/0.5773, allocations: 1.554 MB / 1.165 GB, free: 5.516 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007475/0.578, allocations: 0.6317 MB / 1.166 GB, free: 5.191 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.578, allocations: 1.219 kB / 1.166 GB, free: 5.191 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.5785, allocations: 268.3 kB / 1.166 GB, free: 5.113 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008329/0.5793, allocations: 279.7 kB / 1.166 GB, free: 5.047 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.5844, allocations: 5.211 MB / 1.171 GB, free: 1.902 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.5845, allocations: 270.5 kB / 1.172 GB, free: 1.797 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002779/0.5848, allocations: 127.2 kB / 1.172 GB, free: 1.766 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.585, allocations: 177.4 kB / 1.172 GB, free: 1.641 MB / 1.01 GB Notification: Performance of SimCode: time 5.81e-07/0.585, allocations: 0 / 1.172 GB, free: 1.641 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.6113, allocations: 17.72 MB / 1.189 GB, free: 12.02 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.688/7.299, allocations: 13.02 kB / 1.189 GB, free: 12.02 MB / 1.026 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable masFloRat.T in file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.T from file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable temSteSta.T in file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable temSteSta.T from file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable masFloRat.ports[1].m_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.ports[1].m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable senRelTem.T_rel in file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable senRelTem.T_rel from file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,masFloRat.T,temSteSta.T,temDyn.T,temDynLoss.T,masFloRat.ports[1].m_flow,senRelTem.T_rel Variables in the result:time,temDyn.T,temDynLoss.T [Calling sys.exit(0), Time elapsed: 11.324469251558185]