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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00505/0.00505, allocations: 98.67 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 202.4 kB / 16.68 MB, free: 5.961 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.492/2.492, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 63.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2534, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6375/0.891, allocations: 181.8 MB / 1.419 GB, free: 12.45 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005642/0.8966, allocations: 4.449 MB / 1.424 GB, free: 8.828 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005531/0.8972, allocations: 20.66 kB / 1.424 GB, free: 8.82 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.8979, allocations: 244.1 kB / 1.424 GB, free: 8.605 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.8996, allocations: 0.7545 MB / 1.425 GB, free: 8.012 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.9027, allocations: 1.513 MB / 1.426 GB, free: 6.898 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001416/0.9042, allocations: 1.255 MB / 1.427 GB, free: 6.168 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005186/0.9047, allocations: 451.5 kB / 1.428 GB, free: 5.895 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.9059, allocations: 0.7757 MB / 1.429 GB, free: 5.434 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.9063, allocations: 404.1 kB / 1.429 GB, free: 5.188 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.9064, allocations: 45.94 kB / 1.429 GB, free: 5.188 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.9085, allocations: 1.54 MB / 1.431 GB, free: 4.312 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.9087, allocations: 184.9 kB / 1.431 GB, free: 4.188 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.9089, allocations: 301.8 kB / 1.431 GB, free: 3.996 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.9104, allocations: 1.312 MB / 1.432 GB, free: 3.207 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.9104, allocations: 0 / 1.432 GB, free: 3.207 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9104, allocations: 0 / 1.432 GB, free: 3.207 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.9104, allocations: 4 kB / 1.432 GB, free: 3.203 MB / 1.123 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.001439/0.9119, allocations: 1.041 MB / 1.433 GB, free: 2.34 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.9119, allocations: 8.031 kB / 1.433 GB, free: 2.34 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.678e-05/0.912, allocations: 78.12 kB / 1.433 GB, free: 2.27 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.9137, allocations: 284.8 kB / 1.434 GB, free: 2.141 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006553/0.9143, allocations: 479 kB / 1.434 GB, free: 1.742 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.9144, allocations: 35.03 kB / 1.434 GB, free: 1.727 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.9144, allocations: 44.91 kB / 1.434 GB, free: 1.711 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008737/0.9153, allocations: 0.5476 MB / 1.435 GB, free: 1.34 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.9153, allocations: 3.938 kB / 1.435 GB, free: 1.336 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.267e-05/0.9154, allocations: 20.12 kB / 1.435 GB, free: 1.32 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.9154, allocations: 14.94 kB / 1.435 GB, free: 1.316 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.9163, allocations: 462.2 kB / 1.435 GB, free: 1.066 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.9185, allocations: 2.112 MB / 1.437 GB, free: 14.81 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008726/0.9194, allocations: 409.2 kB / 1.438 GB, free: 14.41 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004502/0.9199, allocations: 237.2 kB / 1.438 GB, free: 14.17 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/0.9205, allocations: 396.3 kB / 1.438 GB, free: 13.71 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005548/0.921, allocations: 296 kB / 1.439 GB, free: 13.41 MB / 1.139 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.921, allocations: 0 / 1.439 GB, free: 13.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=37): time 0.001595/0.9226, allocations: 0.6891 MB / 1.439 GB, free: 12.71 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.9227, allocations: 59.34 kB / 1.439 GB, free: 12.64 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.9232, allocations: 490.1 kB / 1.44 GB, free: 12.15 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.9233, allocations: 37.7 kB / 1.44 GB, free: 12.11 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.9234, allocations: 264.5 kB / 1.44 GB, free: 11.85 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.922e-05/0.9235, allocations: 130.9 kB / 1.44 GB, free: 11.72 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.9237, allocations: 94.08 kB / 1.44 GB, free: 11.62 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.9238, allocations: 366.8 kB / 1.441 GB, free: 11.25 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.9243, allocations: 192.8 kB / 1.441 GB, free: 11.07 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.9248, allocations: 319.2 kB / 1.441 GB, free: 10.72 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009363/0.9258, allocations: 0.5372 MB / 1.442 GB, free: 10.13 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.9258, allocations: 4.812 kB / 1.442 GB, free: 10.13 MB / 1.139 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00117/0.927, allocations: 0.6602 MB / 1.442 GB, free: 9.449 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.927, allocations: 59.41 kB / 1.442 GB, free: 9.379 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.927, allocations: 4 kB / 1.442 GB, free: 9.375 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.9271, allocations: 4 kB / 1.442 GB, free: 9.371 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.9275, allocations: 99.81 kB / 1.442 GB, free: 9.273 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.9275, allocations: 4 kB / 1.442 GB, free: 9.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.9279, allocations: 85.42 kB / 1.443 GB, free: 9.188 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/0.928, allocations: 27.98 kB / 1.443 GB, free: 9.16 MB / 1.139 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.0001979/0.9282, allocations: 196.2 kB / 1.443 GB, free: 8.961 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.917e-05/0.9282, allocations: 55.67 kB / 1.443 GB, free: 8.906 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.9293, allocations: 0.5384 MB / 1.443 GB, free: 8.363 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.9294, allocations: 4 kB / 1.443 GB, free: 8.359 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.9294, allocations: 0 / 1.443 GB, free: 8.359 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9294, allocations: 0 / 1.443 GB, free: 8.359 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.9314, allocations: 1.351 MB / 1.445 GB, free: 6.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.9314, allocations: 7.938 kB / 1.445 GB, free: 6.902 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.9317, allocations: 71.89 kB / 1.445 GB, free: 6.832 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.378e-06/0.9318, allocations: 15.92 kB / 1.445 GB, free: 6.816 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.9318, allocations: 16.36 kB / 1.445 GB, free: 6.801 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.9318, allocations: 8 kB / 1.445 GB, free: 6.793 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9318, allocations: 11.94 kB / 1.445 GB, free: 6.781 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.9333, allocations: 0.9353 MB / 1.446 GB, free: 5.785 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.9335, allocations: 176.6 kB / 1.446 GB, free: 5.594 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.9336, allocations: 12 kB / 1.446 GB, free: 5.582 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.934, allocations: 40.02 kB / 1.446 GB, free: 5.543 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.9341, allocations: 47.83 kB / 1.446 GB, free: 5.496 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.9342, allocations: 19.98 kB / 1.446 GB, free: 5.477 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003641/0.9345, allocations: 346.8 kB / 1.446 GB, free: 5.141 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9345, allocations: 0 / 1.446 GB, free: 5.141 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004498/0.935, allocations: 151.8 kB / 1.446 GB, free: 4.992 MB / 1.139 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.002086/0.9371, allocations: 1.581 MB / 1.448 GB, free: 3.359 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.9382, allocations: 0.5808 MB / 1.449 GB, free: 2.758 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9382, allocations: 128 / 1.449 GB, free: 2.758 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006098/0.9388, allocations: 294 kB / 1.449 GB, free: 2.473 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.94, allocations: 285.2 kB / 1.449 GB, free: 2.203 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00647/0.9465, allocations: 4.997 MB / 1.454 GB, free: 12.94 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.9469, allocations: 0.8665 MB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003638/0.9473, allocations: 128.7 kB / 1.455 GB, free: 11.92 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/0.9475, allocations: 175.4 kB / 1.455 GB, free: 11.75 MB / 1.154 GB Notification: Performance of SimCode: time 2.3e-07/0.9475, allocations: 4 kB / 1.455 GB, free: 11.74 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.128/2.076, allocations: 15.86 MB / 1.471 GB, free: 12.15 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/14.62, allocations: 7.781 kB / 1.471 GB, free: 12.14 MB / 1.17 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) 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) Reference file matches