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.001496/0.001496, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001635/0.001635, allocations: 219.6 kB / 22.26 MB, free: 5.121 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.345/1.345, allocations: 230.6 MB / 256 MB, free: 7.984 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.962/2.962, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",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.001872/0.001872, allocations: 71.66 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2919, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1966/0.4885, allocations: 185.6 MB / 1.507 GB, free: 7.617 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006541/0.495, allocations: 4.509 MB / 1.512 GB, free: 3.102 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006966/0.4957, allocations: 27.75 kB / 1.512 GB, free: 3.074 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000878/0.4966, allocations: 250.1 kB / 1.512 GB, free: 2.828 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.4997, allocations: 0.7932 MB / 1.513 GB, free: 2.031 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004865/0.5045, allocations: 1.61 MB / 1.514 GB, free: 432 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.5065, allocations: 1.266 MB / 1.515 GB, free: 15.15 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008029/0.5073, allocations: 369.6 kB / 1.516 GB, free: 14.78 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.5091, allocations: 0.8291 MB / 1.517 GB, free: 13.95 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007104/0.5098, allocations: 422.2 kB / 1.517 GB, free: 13.54 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.5099, allocations: 48 kB / 1.517 GB, free: 13.49 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.5127, allocations: 1.664 MB / 1.519 GB, free: 11.82 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.5129, allocations: 191.4 kB / 1.519 GB, free: 11.63 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.5133, allocations: 306.5 kB / 1.519 GB, free: 11.33 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.5155, allocations: 1.304 MB / 1.52 GB, free: 10.02 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5155, allocations: 0 / 1.52 GB, free: 10.02 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5155, allocations: 4 kB / 1.52 GB, free: 10.02 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.5155, allocations: 0 / 1.52 GB, free: 10.02 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.001765/0.5173, allocations: 0.9681 MB / 1.521 GB, free: 9.008 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5173, allocations: 12.03 kB / 1.521 GB, free: 8.996 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.137e-05/0.5174, allocations: 82.53 kB / 1.521 GB, free: 8.906 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.5193, allocations: 291.2 kB / 1.522 GB, free: 8.621 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007872/0.5201, allocations: 402.6 kB / 1.522 GB, free: 8.203 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.5201, allocations: 37 kB / 1.522 GB, free: 8.168 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.797e-05/0.5202, allocations: 40 kB / 1.522 GB, free: 8.129 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009632/0.5212, allocations: 0.5507 MB / 1.523 GB, free: 7.547 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5212, allocations: 0 / 1.523 GB, free: 7.547 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.5212, allocations: 19.94 kB / 1.523 GB, free: 7.527 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.5212, allocations: 12 kB / 1.523 GB, free: 7.516 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.5222, allocations: 459.5 kB / 1.523 GB, free: 7.062 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.5248, allocations: 2.078 MB / 1.525 GB, free: 4.863 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.5257, allocations: 390.4 kB / 1.526 GB, free: 4.473 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.5262, allocations: 221.3 kB / 1.526 GB, free: 4.254 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/0.5267, allocations: 91.91 kB / 1.526 GB, free: 4.164 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005918/0.5273, allocations: 295.4 kB / 1.526 GB, free: 3.863 MB / 1.217 GB Notification: Performance of pre-optimization done (n=37): time 1.784e-06/0.5273, allocations: 0 / 1.526 GB, free: 3.863 MB / 1.217 GB Notification: Performance of matching and sorting (n=37): time 0.001687/0.529, allocations: 0.6954 MB / 1.527 GB, free: 3.16 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.529, allocations: 55.41 kB / 1.527 GB, free: 3.094 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.5296, allocations: 498.1 kB / 1.527 GB, free: 2.594 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.5296, allocations: 33.7 kB / 1.527 GB, free: 2.555 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.5298, allocations: 268.4 kB / 1.528 GB, free: 2.289 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.5299, allocations: 130.9 kB / 1.528 GB, free: 2.16 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.5301, allocations: 98.02 kB / 1.528 GB, free: 2.059 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5302, allocations: 358.8 kB / 1.528 GB, free: 1.699 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.5307, allocations: 208.7 kB / 1.528 GB, free: 1.492 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.5312, allocations: 315.5 kB / 1.529 GB, free: 1.148 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009671/0.5322, allocations: 0.5457 MB / 1.529 GB, free: 0.5508 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5322, allocations: 3.938 kB / 1.529 GB, free: 0.5469 MB / 1.217 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001233/0.5334, allocations: 0.6448 MB / 1.53 GB, free: 15.88 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.5335, allocations: 63.41 kB / 1.53 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5335, allocations: 4 kB / 1.53 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.5335, allocations: 4 kB / 1.53 GB, free: 15.8 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000433/0.534, allocations: 95.88 kB / 1.53 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.534, allocations: 7.938 kB / 1.53 GB, free: 15.7 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.5344, allocations: 79.83 kB / 1.53 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.5345, allocations: 23.98 kB / 1.53 GB, free: 15.59 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.000225/0.5347, allocations: 194.2 kB / 1.53 GB, free: 15.39 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.5348, allocations: 59.69 kB / 1.53 GB, free: 15.34 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.5359, allocations: 0.5384 MB / 1.531 GB, free: 14.79 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5359, allocations: 4 kB / 1.531 GB, free: 14.78 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5359, allocations: 0 / 1.531 GB, free: 14.78 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.536, allocations: 3.984 kB / 1.531 GB, free: 14.78 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.5382, allocations: 1.325 MB / 1.532 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.5382, allocations: 4 kB / 1.532 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.5385, allocations: 72.33 kB / 1.532 GB, free: 13.29 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.5385, allocations: 15.98 kB / 1.532 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.5386, allocations: 8 kB / 1.532 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.5386, allocations: 8 kB / 1.532 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5386, allocations: 7.938 kB / 1.532 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.5402, allocations: 0.9408 MB / 1.533 GB, free: 12.25 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.5404, allocations: 95.62 kB / 1.533 GB, free: 12.15 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-05/0.5405, allocations: 15.98 kB / 1.533 GB, free: 12.14 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.5409, allocations: 31.97 kB / 1.533 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5411, allocations: 51.8 kB / 1.533 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.5411, allocations: 16 kB / 1.534 GB, free: 12.04 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0004138/0.5415, allocations: 346.8 kB / 1.534 GB, free: 11.7 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5415, allocations: 0 / 1.534 GB, free: 11.7 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005395/0.542, allocations: 155.9 kB / 1.534 GB, free: 11.55 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.002122/0.5442, allocations: 1.561 MB / 1.536 GB, free: 9.922 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.5453, allocations: 0.5614 MB / 1.536 GB, free: 9.336 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/0.5453, allocations: 12 kB / 1.536 GB, free: 9.324 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006081/0.5459, allocations: 259.6 kB / 1.536 GB, free: 9.07 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.5472, allocations: 291.8 kB / 1.537 GB, free: 8.789 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/0.5544, allocations: 5.013 MB / 1.541 GB, free: 3.523 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.5549, allocations: 0.8704 MB / 1.542 GB, free: 2.625 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000408/0.5553, allocations: 128.6 kB / 1.542 GB, free: 2.496 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.5556, allocations: 175.4 kB / 1.543 GB, free: 2.324 MB / 1.232 GB Notification: Performance of SimCode: time 4.8e-07/0.5556, allocations: 0 / 1.543 GB, free: 2.324 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04569/0.6013, allocations: 16.32 MB / 1.559 GB, free: 2.309 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.47, allocations: 6.938 kB / 1.559 GB, free: 2.305 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.544777589151636]