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.0013/0.0013, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 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.001458/0.001458, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 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 1.448/1.448, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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 2.877/2.877, allocations: 0.5003 GB / 0.8026 GB, free: 6.73 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 65.78 kB / 1.165 GB, free: 480 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9807/0.9829, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.226/1.209, allocations: 185.4 MB / 1.521 GB, free: 14.79 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.00697/1.216, allocations: 4.469 MB / 1.526 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007181/1.217, allocations: 31.75 kB / 1.526 GB, free: 10.28 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000747/1.217, allocations: 246.1 kB / 1.526 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/1.219, allocations: 0.797 MB / 1.527 GB, free: 9.238 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/1.223, allocations: 1.544 MB / 1.528 GB, free: 7.695 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001744/1.225, allocations: 1.242 MB / 1.529 GB, free: 6.449 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000591/1.225, allocations: 389.4 kB / 1.53 GB, free: 6.066 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/1.227, allocations: 0.8252 MB / 1.53 GB, free: 5.238 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/1.228, allocations: 414.3 kB / 1.531 GB, free: 4.832 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.667e-05/1.228, allocations: 48 kB / 1.531 GB, free: 4.785 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002818/1.23, allocations: 1.637 MB / 1.533 GB, free: 3.145 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002229/1.231, allocations: 187.4 kB / 1.533 GB, free: 2.961 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/1.231, allocations: 302.5 kB / 1.533 GB, free: 2.664 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/1.233, allocations: 1.312 MB / 1.534 GB, free: 1.348 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.233, allocations: 4 kB / 1.534 GB, free: 1.344 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.595e-06/1.233, allocations: 0 / 1.534 GB, free: 1.344 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.031e-05/1.233, allocations: 7.938 kB / 1.534 GB, free: 1.336 MB / 1.201 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.002057/1.235, allocations: 1.037 MB / 1.535 GB, free: 244 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.235, allocations: 16.03 kB / 1.535 GB, free: 228 kB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.533e-05/1.235, allocations: 13 kB / 1.535 GB, free: 216 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.376e-05/1.235, allocations: 82.47 kB / 1.535 GB, free: 124 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/1.237, allocations: 287.3 kB / 1.536 GB, free: 15.84 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008775/1.238, allocations: 473.8 kB / 1.536 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.766e-05/1.238, allocations: 29 kB / 1.536 GB, free: 15.31 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.981e-05/1.238, allocations: 47.94 kB / 1.536 GB, free: 15.26 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/1.24, allocations: 0.5507 MB / 1.537 GB, free: 14.68 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/1.24, allocations: 0 / 1.537 GB, free: 14.68 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/1.24, allocations: 23.94 kB / 1.537 GB, free: 14.66 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/1.24, allocations: 8 kB / 1.537 GB, free: 14.65 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/1.241, allocations: 459.5 kB / 1.537 GB, free: 14.2 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/1.243, allocations: 2.112 MB / 1.539 GB, free: 11.95 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/1.244, allocations: 403 kB / 1.54 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/1.245, allocations: 221.2 kB / 1.54 GB, free: 11.33 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/1.246, allocations: 396.3 kB / 1.54 GB, free: 10.87 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006496/1.246, allocations: 295.4 kB / 1.541 GB, free: 10.57 MB / 1.217 GB Notification: Performance of pre-optimization done (n=37): time 1.763e-06/1.246, allocations: 0 / 1.541 GB, free: 10.57 MB / 1.217 GB Notification: Performance of matching and sorting (n=37): time 0.001905/1.248, allocations: 0.6921 MB / 1.541 GB, free: 9.875 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/1.248, allocations: 63.39 kB / 1.541 GB, free: 9.801 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/1.249, allocations: 498 kB / 1.542 GB, free: 9.301 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/1.249, allocations: 37.7 kB / 1.542 GB, free: 9.258 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/1.249, allocations: 260.5 kB / 1.542 GB, free: 9 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/1.249, allocations: 126.9 kB / 1.542 GB, free: 8.875 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.249, allocations: 94.08 kB / 1.542 GB, free: 8.777 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.25, allocations: 366.8 kB / 1.543 GB, free: 8.41 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/1.25, allocations: 196.8 kB / 1.543 GB, free: 8.219 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/1.251, allocations: 316.1 kB / 1.543 GB, free: 7.871 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/1.252, allocations: 0.5488 MB / 1.544 GB, free: 7.27 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.252, allocations: 3.938 kB / 1.544 GB, free: 7.266 MB / 1.217 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001371/1.253, allocations: 0.6484 MB / 1.544 GB, free: 6.598 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/1.253, allocations: 63.39 kB / 1.544 GB, free: 6.523 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.253, allocations: 4 kB / 1.544 GB, free: 6.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.253, allocations: 4 kB / 1.544 GB, free: 6.516 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/1.254, allocations: 100.1 kB / 1.544 GB, free: 6.418 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.254, allocations: 8 kB / 1.544 GB, free: 6.41 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/1.254, allocations: 83.52 kB / 1.544 GB, free: 6.328 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/1.254, allocations: 23.94 kB / 1.545 GB, free: 6.305 MB / 1.217 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.0002465/1.254, allocations: 193.2 kB / 1.545 GB, free: 6.109 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/1.255, allocations: 55.67 kB / 1.545 GB, free: 6.055 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/1.256, allocations: 0.5409 MB / 1.545 GB, free: 5.504 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/1.256, allocations: 4 kB / 1.545 GB, free: 5.5 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.256, allocations: 0 / 1.545 GB, free: 5.5 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.256, allocations: 0 / 1.545 GB, free: 5.5 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/1.258, allocations: 1.362 MB / 1.547 GB, free: 4.039 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/1.258, allocations: 4.438 kB / 1.547 GB, free: 4.035 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/1.259, allocations: 71.89 kB / 1.547 GB, free: 3.965 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.259, allocations: 4 kB / 1.547 GB, free: 3.961 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/1.259, allocations: 15.98 kB / 1.547 GB, free: 3.945 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.259, allocations: 4 kB / 1.547 GB, free: 3.941 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.259, allocations: 7.938 kB / 1.547 GB, free: 3.934 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/1.261, allocations: 0.9498 MB / 1.548 GB, free: 2.922 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/1.261, allocations: 168.7 kB / 1.548 GB, free: 2.738 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/1.261, allocations: 15.98 kB / 1.548 GB, free: 2.723 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/1.261, allocations: 31.97 kB / 1.548 GB, free: 2.691 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/1.261, allocations: 51.94 kB / 1.548 GB, free: 2.641 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/1.261, allocations: 16 kB / 1.548 GB, free: 2.625 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004339/1.262, allocations: 346.8 kB / 1.548 GB, free: 2.289 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.262, allocations: 0 / 1.548 GB, free: 2.289 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005894/1.262, allocations: 159.8 kB / 1.548 GB, free: 2.133 MB / 1.217 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.002323/1.265, allocations: 1.544 MB / 1.55 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001292/1.266, allocations: 0.5765 MB / 1.55 GB, free: 15.92 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.266, allocations: 4 kB / 1.55 GB, free: 15.91 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006784/1.267, allocations: 268.7 kB / 1.551 GB, free: 15.65 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/1.268, allocations: 288.2 kB / 1.551 GB, free: 15.38 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00786/1.276, allocations: 5.008 MB / 1.556 GB, free: 10.11 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/1.277, allocations: 0.8665 MB / 1.557 GB, free: 9.219 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004752/1.277, allocations: 128.7 kB / 1.557 GB, free: 9.094 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/1.277, allocations: 175.4 kB / 1.557 GB, free: 8.922 MB / 1.232 GB Notification: Performance of SimCode: time 8.62e-07/1.277, allocations: 4 kB / 1.557 GB, free: 8.918 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03949/1.317, allocations: 15.97 MB / 1.573 GB, free: 9.227 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.886/10.2, allocations: 9.891 kB / 1.573 GB, free: 9.219 MB / 1.248 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.556850787019357]