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.001861/0.001861, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002241/0.002241, allocations: 215 kB / 20.13 MB, free: 2.949 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.439/1.439, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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.769/2.769, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.001965/0.001965, allocations: 75.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8654/0.8674, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2196/1.087, allocations: 185.4 MB / 1.503 GB, free: 14.96 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006788/1.094, allocations: 4.469 MB / 1.507 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/1.095, allocations: 27.56 kB / 1.507 GB, free: 11.33 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007227/1.095, allocations: 257.5 kB / 1.507 GB, free: 11.1 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/1.097, allocations: 0.7921 MB / 1.508 GB, free: 10.45 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004042/1.101, allocations: 1.549 MB / 1.509 GB, free: 8.898 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00164/1.103, allocations: 1.242 MB / 1.511 GB, free: 7.652 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005824/1.104, allocations: 385.4 kB / 1.511 GB, free: 7.27 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/1.105, allocations: 0.8252 MB / 1.512 GB, free: 6.441 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/1.106, allocations: 426.2 kB / 1.512 GB, free: 6.023 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.34e-05/1.106, allocations: 44 kB / 1.512 GB, free: 5.98 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/1.109, allocations: 1.629 MB / 1.514 GB, free: 4.348 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/1.109, allocations: 195.3 kB / 1.514 GB, free: 4.156 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003374/1.11, allocations: 302.5 kB / 1.514 GB, free: 3.859 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/1.112, allocations: 1.312 MB / 1.516 GB, free: 2.543 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.112, allocations: 4 kB / 1.516 GB, free: 2.539 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.423e-06/1.112, allocations: 4 kB / 1.516 GB, free: 2.535 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.112, allocations: 0 / 1.516 GB, free: 2.535 MB / 1.186 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.001833/1.114, allocations: 1.043 MB / 1.517 GB, free: 1.43 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/1.114, allocations: 15.92 kB / 1.517 GB, free: 1.414 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.963e-05/1.114, allocations: 13 kB / 1.517 GB, free: 1.402 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.985e-05/1.114, allocations: 82.47 kB / 1.517 GB, free: 1.312 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/1.116, allocations: 287.3 kB / 1.517 GB, free: 1.031 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008312/1.117, allocations: 469.8 kB / 1.517 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/1.117, allocations: 33 kB / 1.517 GB, free: 0.5 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.833e-05/1.117, allocations: 40 kB / 1.518 GB, free: 472 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.118, allocations: 0.5546 MB / 1.518 GB, free: 15.87 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.118, allocations: 0 / 1.518 GB, free: 15.87 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/1.118, allocations: 19.94 kB / 1.518 GB, free: 15.85 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/1.118, allocations: 16 kB / 1.518 GB, free: 15.84 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001103/1.119, allocations: 455.5 kB / 1.519 GB, free: 15.39 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/1.122, allocations: 2.112 MB / 1.521 GB, free: 13.15 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/1.123, allocations: 402.4 kB / 1.521 GB, free: 12.75 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/1.123, allocations: 217.3 kB / 1.521 GB, free: 12.53 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/1.124, allocations: 396.3 kB / 1.522 GB, free: 12.07 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00064/1.124, allocations: 294.7 kB / 1.522 GB, free: 11.77 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.625e-06/1.124, allocations: 0 / 1.522 GB, free: 11.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.001872/1.126, allocations: 0.6903 MB / 1.523 GB, free: 11.07 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/1.126, allocations: 59.41 kB / 1.523 GB, free: 11 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/1.127, allocations: 494.1 kB / 1.523 GB, free: 10.51 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/1.127, allocations: 33.7 kB / 1.523 GB, free: 10.47 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/1.127, allocations: 272.4 kB / 1.523 GB, free: 10.2 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/1.127, allocations: 126.9 kB / 1.523 GB, free: 10.07 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/1.128, allocations: 94.08 kB / 1.524 GB, free: 9.977 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.128, allocations: 366.8 kB / 1.524 GB, free: 9.609 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/1.128, allocations: 196.8 kB / 1.524 GB, free: 9.414 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/1.129, allocations: 316.1 kB / 1.524 GB, free: 9.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.13, allocations: 0.5447 MB / 1.525 GB, free: 8.473 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.13, allocations: 3.938 kB / 1.525 GB, free: 8.469 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001357/1.131, allocations: 0.6447 MB / 1.526 GB, free: 7.805 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/1.131, allocations: 63.41 kB / 1.526 GB, free: 7.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.131, allocations: 4 kB / 1.526 GB, free: 7.727 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.131, allocations: 7.984 kB / 1.526 GB, free: 7.719 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/1.132, allocations: 95.83 kB / 1.526 GB, free: 7.625 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/1.132, allocations: 8.234 kB / 1.526 GB, free: 7.617 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/1.132, allocations: 87.58 kB / 1.526 GB, free: 7.531 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/1.132, allocations: 24 kB / 1.526 GB, free: 7.508 MB / 1.201 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.0002565/1.133, allocations: 191.7 kB / 1.526 GB, free: 7.312 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/1.133, allocations: 59.62 kB / 1.526 GB, free: 7.254 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/1.134, allocations: 0.5334 MB / 1.527 GB, free: 6.711 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/1.134, allocations: 4 kB / 1.527 GB, free: 6.707 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.134, allocations: 3.984 kB / 1.527 GB, free: 6.703 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.134, allocations: 0 / 1.527 GB, free: 6.703 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/1.136, allocations: 1.356 MB / 1.528 GB, free: 5.246 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.136, allocations: 4 kB / 1.528 GB, free: 5.242 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/1.137, allocations: 80.27 kB / 1.528 GB, free: 5.164 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.137, allocations: 8 kB / 1.528 GB, free: 5.156 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/1.137, allocations: 11.98 kB / 1.528 GB, free: 5.145 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/1.137, allocations: 4 kB / 1.528 GB, free: 5.141 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.137, allocations: 4 kB / 1.528 GB, free: 5.137 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/1.139, allocations: 0.9445 MB / 1.529 GB, free: 4.129 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002226/1.139, allocations: 172.7 kB / 1.529 GB, free: 3.941 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/1.139, allocations: 15.98 kB / 1.529 GB, free: 3.926 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/1.139, allocations: 31.97 kB / 1.529 GB, free: 3.895 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.14, allocations: 51.81 kB / 1.529 GB, free: 3.844 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/1.14, allocations: 20.06 kB / 1.529 GB, free: 3.824 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004299/1.14, allocations: 338.8 kB / 1.53 GB, free: 3.496 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.14, allocations: 0 / 1.53 GB, free: 3.496 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006067/1.141, allocations: 159.8 kB / 1.53 GB, free: 3.34 MB / 1.201 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.002385/1.143, allocations: 1.567 MB / 1.531 GB, free: 1.707 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001283/1.144, allocations: 0.569 MB / 1.532 GB, free: 1.113 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.144, allocations: 0 / 1.532 GB, free: 1.113 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006802/1.145, allocations: 264.7 kB / 1.532 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/1.146, allocations: 291 kB / 1.532 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007746/1.154, allocations: 5.02 MB / 1.537 GB, free: 11.3 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/1.155, allocations: 0.8626 MB / 1.538 GB, free: 10.41 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004574/1.155, allocations: 124.7 kB / 1.538 GB, free: 10.28 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/1.155, allocations: 175.4 kB / 1.538 GB, free: 10.11 MB / 1.217 GB Notification: Performance of SimCode: time 7.01e-07/1.155, allocations: 0 / 1.538 GB, free: 10.11 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0394/1.195, allocations: 15.97 MB / 1.554 GB, free: 10.43 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.102/10.3, allocations: 8.062 kB / 1.554 GB, free: 10.43 MB / 1.232 GB " [Timeout remaining time 290] (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: 16.503463301982265]