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.001066/0.001066, allocations: 110.1 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.001289/0.001289, allocations: 217.3 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.929/2.929, allocations: 0.49 GB / 0.7959 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_12_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.001841/0.001841, allocations: 62.22 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.288, allocations: 176.1 MB / 1.327 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1979/0.4859, allocations: 185.6 MB / 1.508 GB, free: 7.605 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006111/0.4921, allocations: 4.51 MB / 1.512 GB, free: 3.086 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000428/0.4925, allocations: 27.75 kB / 1.512 GB, free: 3.059 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006587/0.4931, allocations: 254.1 kB / 1.513 GB, free: 2.809 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.4949, allocations: 0.7971 MB / 1.513 GB, free: 2.008 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.4983, allocations: 1.6 MB / 1.515 GB, free: 416 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.4997, allocations: 1.262 MB / 1.516 GB, free: 15.14 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005361/0.5002, allocations: 369.5 kB / 1.517 GB, free: 14.77 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.5017, allocations: 0.8331 MB / 1.517 GB, free: 13.93 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005263/0.5022, allocations: 422.3 kB / 1.518 GB, free: 13.52 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 7.283e-05/0.5023, allocations: 44 kB / 1.518 GB, free: 13.48 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.5049, allocations: 1.668 MB / 1.519 GB, free: 11.8 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.5051, allocations: 195.4 kB / 1.52 GB, free: 11.61 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.5054, allocations: 302.5 kB / 1.52 GB, free: 11.32 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.5072, allocations: 1.304 MB / 1.521 GB, free: 10.01 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5072, allocations: 0 / 1.521 GB, free: 10.01 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5072, allocations: 0 / 1.521 GB, free: 10.01 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.5072, allocations: 3.984 kB / 1.521 GB, free: 10 MB / 1.217 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.001663/0.5088, allocations: 0.9682 MB / 1.522 GB, free: 8.992 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.5089, allocations: 16.02 kB / 1.522 GB, free: 8.977 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.022e-05/0.5089, allocations: 12.94 kB / 1.522 GB, free: 8.965 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.225e-05/0.509, allocations: 82.47 kB / 1.522 GB, free: 8.875 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.5108, allocations: 279.3 kB / 1.523 GB, free: 8.602 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.5116, allocations: 414.6 kB / 1.523 GB, free: 8.172 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.5116, allocations: 33 kB / 1.523 GB, free: 8.141 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/0.5117, allocations: 40 kB / 1.523 GB, free: 8.102 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.5127, allocations: 0.5507 MB / 1.524 GB, free: 7.512 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5127, allocations: 0 / 1.524 GB, free: 7.512 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.5128, allocations: 19.94 kB / 1.524 GB, free: 7.492 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.5128, allocations: 12 kB / 1.524 GB, free: 7.48 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.5138, allocations: 463.5 kB / 1.524 GB, free: 7.031 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.5163, allocations: 2.074 MB / 1.526 GB, free: 4.832 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009524/0.5172, allocations: 394.4 kB / 1.526 GB, free: 4.438 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.5177, allocations: 213.3 kB / 1.527 GB, free: 4.227 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004977/0.5182, allocations: 87.89 kB / 1.527 GB, free: 4.141 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006105/0.5188, allocations: 299.4 kB / 1.527 GB, free: 3.836 MB / 1.217 GB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.5188, allocations: 0 / 1.527 GB, free: 3.836 MB / 1.217 GB Notification: Performance of matching and sorting (n=37): time 0.001724/0.5206, allocations: 0.6954 MB / 1.528 GB, free: 3.133 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.5206, allocations: 59.41 kB / 1.528 GB, free: 3.062 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005726/0.5212, allocations: 490.1 kB / 1.528 GB, free: 2.57 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.5212, allocations: 45.64 kB / 1.528 GB, free: 2.52 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.5214, allocations: 264.4 kB / 1.528 GB, free: 2.258 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.5215, allocations: 130.9 kB / 1.529 GB, free: 2.129 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.5217, allocations: 94.02 kB / 1.529 GB, free: 2.031 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5219, allocations: 362.8 kB / 1.529 GB, free: 1.668 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.5223, allocations: 196.8 kB / 1.529 GB, free: 1.473 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/0.5229, allocations: 320.3 kB / 1.53 GB, free: 1.125 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.5239, allocations: 0.5496 MB / 1.53 GB, free: 0.5234 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5239, allocations: 4 kB / 1.53 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001289/0.5252, allocations: 0.6448 MB / 1.531 GB, free: 15.86 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.5253, allocations: 59.41 kB / 1.531 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5253, allocations: 0 / 1.531 GB, free: 15.79 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.5253, allocations: 8 kB / 1.531 GB, free: 15.78 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004333/0.5257, allocations: 91.88 kB / 1.531 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.5257, allocations: 11.94 kB / 1.531 GB, free: 15.68 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.5262, allocations: 79.73 kB / 1.531 GB, free: 15.6 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.5263, allocations: 23.98 kB / 1.531 GB, free: 15.57 MB / 1.232 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.0002229/0.5265, allocations: 195.9 kB / 1.531 GB, free: 15.38 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.097e-05/0.5266, allocations: 59.62 kB / 1.531 GB, free: 15.32 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.5278, allocations: 0.5384 MB / 1.532 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.5278, allocations: 4 kB / 1.532 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5278, allocations: 0 / 1.532 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.5278, allocations: 3.984 kB / 1.532 GB, free: 14.76 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.53, allocations: 1.33 MB / 1.533 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.53, allocations: 4 kB / 1.533 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.5304, allocations: 71.89 kB / 1.533 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.5304, allocations: 4.438 kB / 1.533 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.5305, allocations: 19.98 kB / 1.533 GB, free: 13.24 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.5305, allocations: 7.938 kB / 1.533 GB, free: 13.23 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5305, allocations: 4 kB / 1.533 GB, free: 13.23 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.5321, allocations: 0.9447 MB / 1.534 GB, free: 12.22 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.5323, allocations: 95.56 kB / 1.534 GB, free: 12.13 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/0.5324, allocations: 8 kB / 1.534 GB, free: 12.12 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.5328, allocations: 40.02 kB / 1.534 GB, free: 12.08 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.5329, allocations: 55.8 kB / 1.534 GB, free: 12.03 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.533, allocations: 12 kB / 1.534 GB, free: 12.02 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0003983/0.5334, allocations: 346.8 kB / 1.535 GB, free: 11.68 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5334, allocations: 4 kB / 1.535 GB, free: 11.68 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005371/0.5339, allocations: 155.8 kB / 1.535 GB, free: 11.52 MB / 1.232 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.002164/0.5361, allocations: 1.56 MB / 1.536 GB, free: 9.895 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.5372, allocations: 0.5762 MB / 1.537 GB, free: 9.293 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5372, allocations: 0.75 kB / 1.537 GB, free: 9.293 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006262/0.5379, allocations: 265.5 kB / 1.537 GB, free: 9.035 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.5392, allocations: 286.7 kB / 1.537 GB, free: 8.762 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007383/0.5466, allocations: 5.019 MB / 1.542 GB, free: 3.488 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.5471, allocations: 0.8665 MB / 1.543 GB, free: 2.594 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004344/0.5475, allocations: 132.6 kB / 1.543 GB, free: 2.461 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.5478, allocations: 175.4 kB / 1.543 GB, free: 2.289 MB / 1.232 GB Notification: Performance of SimCode: time 7.71e-07/0.5478, allocations: 0 / 1.543 GB, free: 2.289 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.042/0.5898, allocations: 16.35 MB / 1.559 GB, free: 2.266 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.61, allocations: 8 kB / 1.559 GB, free: 2.258 MB / 1.248 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.70675203402061]