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.001395/0.001395, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001539/0.001539, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 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 2.882/2.882, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 177] 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.001897/0.001897, allocations: 73.86 kB / 1.171 GB, free: 19.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2939, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1975/0.4914, allocations: 185.7 MB / 1.527 GB, free: 6.086 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.006103/0.4975, allocations: 4.502 MB / 1.531 GB, free: 1.574 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.498, allocations: 27.75 kB / 1.531 GB, free: 1.547 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006409/0.4986, allocations: 250.1 kB / 1.531 GB, free: 1.301 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.5004, allocations: 0.7892 MB / 1.532 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.0034/0.5038, allocations: 1.603 MB / 1.534 GB, free: 14.9 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.5052, allocations: 1.266 MB / 1.535 GB, free: 13.63 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005397/0.5058, allocations: 365.8 kB / 1.535 GB, free: 13.27 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.5075, allocations: 0.8291 MB / 1.536 GB, free: 12.44 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006363/0.5081, allocations: 422.3 kB / 1.536 GB, free: 12.02 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 8.01e-05/0.5082, allocations: 44 kB / 1.536 GB, free: 11.98 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.5116, allocations: 1.66 MB / 1.538 GB, free: 10.32 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002641/0.5119, allocations: 195.3 kB / 1.538 GB, free: 10.12 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.5123, allocations: 302.5 kB / 1.539 GB, free: 9.828 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.5142, allocations: 1.308 MB / 1.54 GB, free: 8.516 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5142, allocations: 4 kB / 1.54 GB, free: 8.512 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5142, allocations: 0 / 1.54 GB, free: 8.512 MB / 1.232 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.5142, allocations: 0 / 1.54 GB, free: 8.512 MB / 1.232 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.001721/0.5159, allocations: 0.9682 MB / 1.541 GB, free: 7.5 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5159, allocations: 12.03 kB / 1.541 GB, free: 7.488 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.252e-05/0.516, allocations: 9 kB / 1.541 GB, free: 7.48 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.044e-05/0.5161, allocations: 86.39 kB / 1.541 GB, free: 7.387 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.5179, allocations: 287.3 kB / 1.541 GB, free: 7.105 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007732/0.5187, allocations: 406.6 kB / 1.542 GB, free: 6.684 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.685e-05/0.5188, allocations: 37 kB / 1.542 GB, free: 6.648 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.5188, allocations: 44 kB / 1.542 GB, free: 6.605 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5199, allocations: 0.5507 MB / 1.542 GB, free: 6.02 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.5199, allocations: 7.922 kB / 1.542 GB, free: 6.012 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.52, allocations: 23.94 kB / 1.542 GB, free: 5.988 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.52, allocations: 12 kB / 1.542 GB, free: 5.977 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.521, allocations: 455.5 kB / 1.543 GB, free: 5.535 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002866/0.5239, allocations: 2.074 MB / 1.545 GB, free: 3.332 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.5249, allocations: 394.4 kB / 1.545 GB, free: 2.938 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/0.5254, allocations: 209.3 kB / 1.545 GB, free: 2.73 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005456/0.526, allocations: 95.77 kB / 1.545 GB, free: 2.637 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006272/0.5266, allocations: 291.1 kB / 1.546 GB, free: 2.34 MB / 1.232 GB Notification: Performance of pre-optimization done (n=37): time 4.298e-06/0.5266, allocations: 4 kB / 1.546 GB, free: 2.336 MB / 1.232 GB Notification: Performance of matching and sorting (n=37): time 0.001788/0.5284, allocations: 0.6885 MB / 1.546 GB, free: 1.641 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.5284, allocations: 67.38 kB / 1.546 GB, free: 1.562 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005735/0.529, allocations: 498 kB / 1.547 GB, free: 1.062 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.5291, allocations: 33.7 kB / 1.547 GB, free: 1.023 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.5293, allocations: 264.5 kB / 1.547 GB, free: 0.7617 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.5294, allocations: 123 kB / 1.547 GB, free: 0.6406 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.5296, allocations: 98.06 kB / 1.547 GB, free: 0.5391 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.5297, allocations: 362.7 kB / 1.548 GB, free: 180 kB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.5302, allocations: 200.9 kB / 1.548 GB, free: 15.98 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.5308, allocations: 319.7 kB / 1.548 GB, free: 15.62 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.5319, allocations: 0.5456 MB / 1.549 GB, free: 15.02 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5319, allocations: 7.938 kB / 1.549 GB, free: 15.02 MB / 1.248 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00131/0.5332, allocations: 0.6444 MB / 1.549 GB, free: 14.35 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/0.5333, allocations: 67.39 kB / 1.549 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5333, allocations: 0 / 1.549 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.5333, allocations: 11.98 kB / 1.549 GB, free: 14.26 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.5338, allocations: 100.2 kB / 1.55 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.5338, allocations: 8 kB / 1.55 GB, free: 14.16 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.5343, allocations: 71.58 kB / 1.55 GB, free: 14.09 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.5344, allocations: 23.98 kB / 1.55 GB, free: 14.06 MB / 1.248 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.0002706/0.5346, allocations: 207.8 kB / 1.55 GB, free: 13.85 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/0.5347, allocations: 51.67 kB / 1.55 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.536, allocations: 0.5331 MB / 1.55 GB, free: 13.26 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.536, allocations: 8 kB / 1.55 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.536, allocations: 4 kB / 1.55 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.536, allocations: 0 / 1.55 GB, free: 13.25 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.5384, allocations: 1.327 MB / 1.552 GB, free: 11.83 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.5384, allocations: 4.031 kB / 1.552 GB, free: 11.83 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.5388, allocations: 79.83 kB / 1.552 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.5388, allocations: 4 kB / 1.552 GB, free: 11.75 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.5388, allocations: 15.98 kB / 1.552 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.5388, allocations: 4 kB / 1.552 GB, free: 11.73 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5388, allocations: 4 kB / 1.552 GB, free: 11.72 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.5405, allocations: 0.9375 MB / 1.553 GB, free: 10.72 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.5407, allocations: 99.48 kB / 1.553 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.5408, allocations: 8 kB / 1.553 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.5412, allocations: 39.95 kB / 1.553 GB, free: 10.58 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.5413, allocations: 47.94 kB / 1.553 GB, free: 10.53 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.5414, allocations: 19.98 kB / 1.553 GB, free: 10.51 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0003963/0.5418, allocations: 342.8 kB / 1.553 GB, free: 10.18 MB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5418, allocations: 0 / 1.553 GB, free: 10.18 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005187/0.5423, allocations: 155.8 kB / 1.553 GB, free: 10.03 MB / 1.248 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.002179/0.5445, allocations: 1.563 MB / 1.555 GB, free: 8.398 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.5456, allocations: 0.5726 MB / 1.555 GB, free: 7.801 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.5456, allocations: 0 / 1.555 GB, free: 7.801 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0006255/0.5462, allocations: 268.7 kB / 1.556 GB, free: 7.539 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.5475, allocations: 290.8 kB / 1.556 GB, free: 7.262 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/0.5547, allocations: 5.005 MB / 1.561 GB, free: 2.004 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.5552, allocations: 0.8665 MB / 1.562 GB, free: 1.109 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.5555, allocations: 128.7 kB / 1.562 GB, free: 0.9844 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.5558, allocations: 179.4 kB / 1.562 GB, free: 0.8086 MB / 1.248 GB Notification: Performance of SimCode: time 3.8e-07/0.5558, allocations: 4 kB / 1.562 GB, free: 0.8047 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04292/0.5987, allocations: 16.34 MB / 1.578 GB, free: 0.75 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.7, allocations: 14.8 kB / 1.578 GB, free: 0.7422 MB / 1.264 GB " [Timeout remaining time 288] (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: 17.772938023030292]