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.00122/0.00122, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002093/0.002093, allocations: 220 kB / 22.24 MB, free: 5.105 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.809 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.968/2.968, allocations: 0.49 GB / 0.7951 GB, free: 35.5 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.002599/0.002599, allocations: 70.73 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3176, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1861/0.5037, allocations: 160.7 MB / 1.483 GB, free: 224 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005983/0.5096, allocations: 4.164 MB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.5101, allocations: 27.75 kB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.5108, allocations: 250.1 kB / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.5132, allocations: 0.7659 MB / 1.488 GB, free: 11 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004663/0.5178, allocations: 1.559 MB / 1.489 GB, free: 9.445 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.52, allocations: 1.258 MB / 1.491 GB, free: 8.184 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.5207, allocations: 361.6 kB / 1.491 GB, free: 7.82 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.5225, allocations: 0.833 MB / 1.492 GB, free: 6.984 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006323/0.5232, allocations: 430.3 kB / 1.492 GB, free: 6.562 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.704e-05/0.5233, allocations: 44 kB / 1.492 GB, free: 6.52 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.5258, allocations: 1.266 MB / 1.493 GB, free: 5.25 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.526, allocations: 187.4 kB / 1.494 GB, free: 5.066 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003138/0.5263, allocations: 258.8 kB / 1.494 GB, free: 4.812 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.5284, allocations: 1.258 MB / 1.495 GB, free: 3.551 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5284, allocations: 0 / 1.495 GB, free: 3.551 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5284, allocations: 0 / 1.495 GB, free: 3.551 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.5284, allocations: 0 / 1.495 GB, free: 3.551 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.001736/0.5301, allocations: 0.9643 MB / 1.496 GB, free: 2.543 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5302, allocations: 12.03 kB / 1.496 GB, free: 2.531 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.983e-05/0.5303, allocations: 74.53 kB / 1.496 GB, free: 2.449 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002057/0.5323, allocations: 291.2 kB / 1.496 GB, free: 2.164 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/0.5332, allocations: 414.6 kB / 1.497 GB, free: 1.73 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.5332, allocations: 29 kB / 1.497 GB, free: 1.703 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/0.5333, allocations: 44 kB / 1.497 GB, free: 1.66 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.5343, allocations: 0.5468 MB / 1.497 GB, free: 1.082 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.5344, allocations: 0 / 1.497 GB, free: 1.082 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.5344, allocations: 19.94 kB / 1.497 GB, free: 1.062 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.5344, allocations: 19.92 kB / 1.497 GB, free: 1.043 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.5354, allocations: 459.5 kB / 1.498 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.5379, allocations: 1.764 MB / 1.5 GB, free: 14.76 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009729/0.5389, allocations: 394.4 kB / 1.5 GB, free: 14.36 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/0.5394, allocations: 225.2 kB / 1.5 GB, free: 14.14 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005565/0.5399, allocations: 91.91 kB / 1.5 GB, free: 14.05 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006093/0.5405, allocations: 299.1 kB / 1.501 GB, free: 13.75 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.5406, allocations: 4 kB / 1.501 GB, free: 13.74 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.001763/0.5423, allocations: 0.6917 MB / 1.501 GB, free: 13.04 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.5424, allocations: 55.41 kB / 1.501 GB, free: 12.98 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.5429, allocations: 0.4902 MB / 1.502 GB, free: 12.47 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.543, allocations: 37.7 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5432, allocations: 260.5 kB / 1.502 GB, free: 12.17 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.5433, allocations: 134.8 kB / 1.502 GB, free: 12.04 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.5435, allocations: 90.12 kB / 1.502 GB, free: 11.95 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5436, allocations: 366.8 kB / 1.503 GB, free: 11.58 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.5441, allocations: 252.2 kB / 1.503 GB, free: 11.32 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/0.5448, allocations: 0.4918 MB / 1.503 GB, free: 10.74 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.5458, allocations: 0.5493 MB / 1.504 GB, free: 10.14 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.5458, allocations: 7.938 kB / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001354/0.5472, allocations: 0.7067 MB / 1.505 GB, free: 9.395 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.5472, allocations: 59.41 kB / 1.505 GB, free: 9.324 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5472, allocations: 0 / 1.505 GB, free: 9.324 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.5472, allocations: 8 kB / 1.505 GB, free: 9.316 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.5477, allocations: 91.88 kB / 1.505 GB, free: 9.227 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.5477, allocations: 15.88 kB / 1.505 GB, free: 9.211 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.5482, allocations: 87.66 kB / 1.505 GB, free: 9.125 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.5483, allocations: 20 kB / 1.505 GB, free: 9.105 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.0002364/0.5485, allocations: 194.6 kB / 1.505 GB, free: 8.906 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.826e-05/0.5486, allocations: 51.67 kB / 1.505 GB, free: 8.855 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.5498, allocations: 0.5497 MB / 1.506 GB, free: 8.293 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5498, allocations: 0 / 1.506 GB, free: 8.293 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5498, allocations: 4 kB / 1.506 GB, free: 8.289 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5498, allocations: 3.984 kB / 1.506 GB, free: 8.285 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/0.5521, allocations: 1.265 MB / 1.507 GB, free: 6.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5521, allocations: 4 kB / 1.507 GB, free: 6.926 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.5525, allocations: 72.33 kB / 1.507 GB, free: 6.855 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.5525, allocations: 8 kB / 1.507 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.5526, allocations: 20.05 kB / 1.507 GB, free: 6.828 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.5526, allocations: 4 kB / 1.507 GB, free: 6.824 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.5526, allocations: 7.938 kB / 1.507 GB, free: 6.816 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.5543, allocations: 0.9369 MB / 1.508 GB, free: 5.816 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/0.5545, allocations: 99.5 kB / 1.508 GB, free: 5.719 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.5546, allocations: 12 kB / 1.508 GB, free: 5.707 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.555, allocations: 35.95 kB / 1.508 GB, free: 5.672 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.5552, allocations: 47.81 kB / 1.508 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.5552, allocations: 20.05 kB / 1.508 GB, free: 5.605 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004082/0.5556, allocations: 350.8 kB / 1.508 GB, free: 5.266 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5556, allocations: 0 / 1.508 GB, free: 5.266 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005523/0.5561, allocations: 147.8 kB / 1.509 GB, free: 5.121 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.002237/0.5584, allocations: 1.568 MB / 1.51 GB, free: 3.484 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.5596, allocations: 0.6195 MB / 1.511 GB, free: 2.828 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5596, allocations: 0 / 1.511 GB, free: 2.828 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006373/0.5603, allocations: 268.8 kB / 1.511 GB, free: 2.566 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.5616, allocations: 290.1 kB / 1.511 GB, free: 2.297 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007837/0.5694, allocations: 5.241 MB / 1.516 GB, free: 12.75 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.5697, allocations: 274 kB / 1.517 GB, free: 12.46 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0005271/0.5702, allocations: 128.7 kB / 1.517 GB, free: 12.33 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.5705, allocations: 179.3 kB / 1.517 GB, free: 12.15 MB / 1.217 GB Notification: Performance of SimCode: time 9.82e-07/0.5705, allocations: 0 / 1.517 GB, free: 12.15 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.6188, allocations: 17.76 MB / 1.534 GB, free: 10.8 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.16, allocations: 4.062 kB / 1.534 GB, free: 10.79 MB / 1.232 GB " [Timeout remaining time 289] (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.43369837201317]