Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007733/0.0007733, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007637/0.0007637, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8701/0.8701, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.733/1.733, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.385e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.58/0.58, allocations: 160.5 MB / 1.156 GB, free: 15.14 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.005087/0.5851, allocations: 4.127 MB / 1.16 GB, free: 12.35 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.5857, allocations: 31.84 kB / 1.16 GB, free: 12.33 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.5863, allocations: 261.6 kB / 1.161 GB, free: 12.16 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.588, allocations: 0.7668 MB / 1.161 GB, free: 11.73 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003142/0.5911, allocations: 1.604 MB / 1.163 GB, free: 10.95 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.5926, allocations: 1.222 MB / 1.164 GB, free: 10.38 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004857/0.5931, allocations: 331.3 kB / 1.165 GB, free: 10.23 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.5947, allocations: 0.972 MB / 1.166 GB, free: 9.812 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.5952, allocations: 349.6 kB / 1.166 GB, free: 9.703 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.5952, allocations: 45.53 kB / 1.166 GB, free: 9.703 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.5976, allocations: 1.263 MB / 1.167 GB, free: 9.227 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.5978, allocations: 196.9 kB / 1.167 GB, free: 9.133 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.598, allocations: 212 kB / 1.168 GB, free: 9.051 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002282/0.6003, allocations: 1.324 MB / 1.169 GB, free: 8.609 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6003, allocations: 5.25 kB / 1.169 GB, free: 8.605 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6003, allocations: 0 / 1.169 GB, free: 8.605 MB / 1.026 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.6003, allocations: 0 / 1.169 GB, free: 8.605 MB / 1.026 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.001495/0.6018, allocations: 0.947 MB / 1.17 GB, free: 7.93 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.6019, allocations: 11.12 kB / 1.17 GB, free: 7.93 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.879e-05/0.602, allocations: 86.47 kB / 1.17 GB, free: 7.859 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.6032, allocations: 293.4 kB / 1.17 GB, free: 7.797 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.6038, allocations: 394.3 kB / 1.17 GB, free: 7.535 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.6039, allocations: 31.25 kB / 1.171 GB, free: 7.52 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.6039, allocations: 45.22 kB / 1.171 GB, free: 7.504 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/0.6047, allocations: 0.552 MB / 1.171 GB, free: 7.246 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.6047, allocations: 1.344 kB / 1.171 GB, free: 7.246 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.6048, allocations: 19.17 kB / 1.171 GB, free: 7.234 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.6048, allocations: 14.47 kB / 1.171 GB, free: 7.23 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.6055, allocations: 454.8 kB / 1.172 GB, free: 7.102 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.6074, allocations: 1.783 MB / 1.173 GB, free: 5.836 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.608, allocations: 393 kB / 1.174 GB, free: 5.715 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.6084, allocations: 214.2 kB / 1.174 GB, free: 5.652 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.6087, allocations: 86.77 kB / 1.174 GB, free: 5.648 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006107/0.6093, allocations: 300.1 kB / 1.174 GB, free: 5.535 MB / 1.026 GB Notification: Performance of pre-optimization done (n=37): time 3.156e-06/0.6093, allocations: 0 / 1.174 GB, free: 5.535 MB / 1.026 GB Notification: Performance of matching and sorting (n=37): time 0.001226/0.6105, allocations: 0.6919 MB / 1.175 GB, free: 5.316 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.6106, allocations: 57.23 kB / 1.175 GB, free: 5.254 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.6111, allocations: 490.8 kB / 1.175 GB, free: 5.031 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.6111, allocations: 38.03 kB / 1.175 GB, free: 4.992 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.6113, allocations: 259.9 kB / 1.176 GB, free: 4.781 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 9.642e-05/0.6114, allocations: 128.1 kB / 1.176 GB, free: 4.68 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.6115, allocations: 94.86 kB / 1.176 GB, free: 4.629 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6117, allocations: 363.7 kB / 1.176 GB, free: 4.293 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.612, allocations: 255.4 kB / 1.177 GB, free: 4.176 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.6125, allocations: 498.4 kB / 1.177 GB, free: 3.793 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/0.6132, allocations: 0.5487 MB / 1.178 GB, free: 3.477 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.6132, allocations: 1.156 kB / 1.178 GB, free: 3.477 MB / 1.026 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009352/0.6141, allocations: 0.7114 MB / 1.178 GB, free: 3.129 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/0.6142, allocations: 69.78 kB / 1.178 GB, free: 3.059 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.6142, allocations: 2.344 kB / 1.178 GB, free: 3.059 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.6142, allocations: 5.25 kB / 1.178 GB, free: 3.059 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.6145, allocations: 95.17 kB / 1.178 GB, free: 3.051 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.6145, allocations: 10.42 kB / 1.178 GB, free: 3.047 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.6148, allocations: 81.61 kB / 1.178 GB, free: 3.008 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.6149, allocations: 26.36 kB / 1.179 GB, free: 3 MB / 1.026 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.0002008/0.6151, allocations: 187.9 kB / 1.179 GB, free: 2.848 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.6151, allocations: 62.77 kB / 1.179 GB, free: 2.812 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.6159, allocations: 0.5347 MB / 1.179 GB, free: 2.613 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6159, allocations: 3.781 kB / 1.179 GB, free: 2.613 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.6159, allocations: 1.188 kB / 1.179 GB, free: 2.613 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.6159, allocations: 3.172 kB / 1.179 GB, free: 2.613 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.6176, allocations: 1.268 MB / 1.181 GB, free: 1.934 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.6176, allocations: 8.953 kB / 1.181 GB, free: 1.93 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.6178, allocations: 70.75 kB / 1.181 GB, free: 1.926 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.6178, allocations: 6.484 kB / 1.181 GB, free: 1.926 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.6178, allocations: 19.81 kB / 1.181 GB, free: 1.914 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.6178, allocations: 6.031 kB / 1.181 GB, free: 1.914 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6178, allocations: 11.16 kB / 1.181 GB, free: 1.91 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.619, allocations: 0.9289 MB / 1.182 GB, free: 1.43 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.6191, allocations: 96 kB / 1.182 GB, free: 1.379 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.6192, allocations: 17.78 kB / 1.182 GB, free: 1.371 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.6194, allocations: 42.72 kB / 1.182 GB, free: 1.359 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/0.6195, allocations: 45.83 kB / 1.182 GB, free: 1.348 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.6195, allocations: 12.91 kB / 1.182 GB, free: 1.348 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003042/0.6198, allocations: 347.9 kB / 1.182 GB, free: 1.188 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.6198, allocations: 0 / 1.182 GB, free: 1.188 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.000519/0.6203, allocations: 147.4 kB / 1.182 GB, free: 1.168 MB / 1.026 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.001511/0.6218, allocations: 1.55 MB / 1.184 GB, free: 128 kB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0008905/0.6227, allocations: 0.6234 MB / 1.184 GB, free: 15.81 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6227, allocations: 3.938 kB / 1.184 GB, free: 15.8 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.6231, allocations: 275.3 kB / 1.185 GB, free: 15.72 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.624, allocations: 271.4 kB / 1.185 GB, free: 15.65 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/0.6296, allocations: 5.172 MB / 1.19 GB, free: 12.53 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.6298, allocations: 265.5 kB / 1.19 GB, free: 12.42 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0004184/0.6302, allocations: 126.3 kB / 1.19 GB, free: 12.39 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.6304, allocations: 177 kB / 1.19 GB, free: 12.27 MB / 1.042 GB Notification: Performance of SimCode: time 1.573e-06/0.6304, allocations: 0 / 1.19 GB, free: 12.27 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.6599, allocations: 17.39 MB / 1.207 GB, free: 4.648 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/7.331, allocations: 5.094 kB / 1.207 GB, free: 4.648 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.T from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable temSteSta.T in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable temSteSta.T from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable masFloRat.ports[1].m_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable masFloRat.ports[1].m_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv failed! Error: Could not read variable senRelTem.T_rel in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv. Warning: Get data of variable senRelTem.T_rel from file Buildings_latest_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.429717553779483]