Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 108.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.079/3.079, allocations: 497.2 MB / 0.7811 GB, free: 33.78 MB / 0.6231 GB " [Timeout remaining time 177] 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.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 68.14 kB / 1.134 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 173.9 MB / 1.304 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2014/0.5377, allocations: 168.1 MB / 1.468 GB, free: 8.871 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008583/0.5462, allocations: 6.592 MB / 1.475 GB, free: 2.262 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00048/0.5467, allocations: 15.94 kB / 1.475 GB, free: 2.246 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005714/0.5473, allocations: 166.7 kB / 1.475 GB, free: 2.082 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.5494, allocations: 0.8713 MB / 1.476 GB, free: 1.207 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.000925/0.5504, allocations: 334.7 kB / 1.476 GB, free: 0.8828 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009048/0.5513, allocations: 0.7056 MB / 1.477 GB, free: 180 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.5517, allocations: 235.3 kB / 1.477 GB, free: 15.95 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.5532, allocations: 0.72 MB / 1.478 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.5536, allocations: 271 kB / 1.478 GB, free: 14.96 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.5537, allocations: 27.98 kB / 1.478 GB, free: 14.93 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006407/0.5543, allocations: 347.2 kB / 1.478 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.5545, allocations: 115.6 kB / 1.478 GB, free: 14.48 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.5546, allocations: 163.2 kB / 1.478 GB, free: 14.32 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007219/0.5554, allocations: 474.2 kB / 1.479 GB, free: 13.86 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5554, allocations: 0 / 1.479 GB, free: 13.86 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5554, allocations: 3.938 kB / 1.479 GB, free: 13.85 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.5554, allocations: 0 / 1.479 GB, free: 13.85 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009107/0.5563, allocations: 0.6229 MB / 1.479 GB, free: 13.18 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5563, allocations: 12.62 kB / 1.479 GB, free: 13.16 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.255e-05/0.5564, allocations: 58.55 kB / 1.48 GB, free: 13.1 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.5567, allocations: 75.59 kB / 1.48 GB, free: 13.02 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.5572, allocations: 321.4 kB / 1.48 GB, free: 12.67 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.5572, allocations: 16.56 kB / 1.48 GB, free: 12.66 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.5573, allocations: 32 kB / 1.48 GB, free: 12.62 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005363/0.5578, allocations: 311.7 kB / 1.48 GB, free: 12.29 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5578, allocations: 0 / 1.48 GB, free: 12.29 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.5579, allocations: 12 kB / 1.48 GB, free: 12.28 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.5579, allocations: 12 kB / 1.48 GB, free: 12.27 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.5583, allocations: 205.4 kB / 1.48 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.5599, allocations: 1.539 MB / 1.482 GB, free: 10.39 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.5602, allocations: 110.5 kB / 1.482 GB, free: 10.28 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.5604, allocations: 84.8 kB / 1.482 GB, free: 10.19 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/0.561, allocations: 299.2 kB / 1.482 GB, free: 9.844 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.561, allocations: 42.56 kB / 1.483 GB, free: 9.793 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.561, allocations: 0 / 1.483 GB, free: 9.793 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0007765/0.5618, allocations: 276.4 kB / 1.483 GB, free: 9.52 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.5618, allocations: 51.41 kB / 1.483 GB, free: 9.457 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.5622, allocations: 312.5 kB / 1.483 GB, free: 9.145 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.5622, allocations: 33.7 kB / 1.483 GB, free: 9.105 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.5624, allocations: 188.2 kB / 1.483 GB, free: 8.918 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.395e-05/0.5624, allocations: 43.64 kB / 1.483 GB, free: 8.875 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.5625, allocations: 33.72 kB / 1.483 GB, free: 8.836 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.5627, allocations: 342.8 kB / 1.484 GB, free: 8.492 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.5628, allocations: 63.94 kB / 1.484 GB, free: 8.43 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.563, allocations: 109 kB / 1.484 GB, free: 8.305 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.5633, allocations: 180.9 kB / 1.484 GB, free: 8.109 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5634, allocations: 4 kB / 1.484 GB, free: 8.105 MB / 1.186 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004384/0.5638, allocations: 213.3 kB / 1.484 GB, free: 7.891 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5638, allocations: 8 kB / 1.484 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5638, allocations: 0 / 1.484 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5638, allocations: 12.09 kB / 1.484 GB, free: 7.871 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.564, allocations: 31.97 kB / 1.484 GB, free: 7.84 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.564, allocations: 4 kB / 1.484 GB, free: 7.836 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.5642, allocations: 31.77 kB / 1.484 GB, free: 7.805 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.5642, allocations: 8 kB / 1.484 GB, free: 7.797 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001592/0.5644, allocations: 149.7 kB / 1.485 GB, free: 7.641 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.5645, allocations: 35.75 kB / 1.485 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.5649, allocations: 212.3 kB / 1.485 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5649, allocations: 0 / 1.485 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5649, allocations: 0 / 1.485 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5649, allocations: 0 / 1.485 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.566, allocations: 0.6835 MB / 1.485 GB, free: 6.625 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5661, allocations: 8 kB / 1.485 GB, free: 6.617 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.5662, allocations: 27.98 kB / 1.485 GB, free: 6.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5662, allocations: 4 kB / 1.485 GB, free: 6.586 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.5662, allocations: 11.94 kB / 1.485 GB, free: 6.574 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.5662, allocations: 4.156 kB / 1.485 GB, free: 6.57 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.5662, allocations: 11.98 kB / 1.485 GB, free: 6.559 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004793/0.5667, allocations: 329.2 kB / 1.486 GB, free: 6.199 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.5668, allocations: 116.9 kB / 1.486 GB, free: 6.066 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.5669, allocations: 11.92 kB / 1.486 GB, free: 6.055 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.567, allocations: 8 kB / 1.486 GB, free: 6.047 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.5671, allocations: 11.98 kB / 1.486 GB, free: 6.035 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.5671, allocations: 12 kB / 1.486 GB, free: 6.023 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002271/0.5673, allocations: 223 kB / 1.486 GB, free: 5.809 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.5673, allocations: 0 / 1.486 GB, free: 5.809 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000398/0.5677, allocations: 75.83 kB / 1.486 GB, free: 5.734 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001172/0.5689, allocations: 0.9286 MB / 1.487 GB, free: 4.762 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0004299/0.5693, allocations: 149.2 kB / 1.487 GB, free: 4.617 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5693, allocations: 4.062 kB / 1.487 GB, free: 4.613 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.5695, allocations: 79.83 kB / 1.487 GB, free: 4.535 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/0.5703, allocations: 143.9 kB / 1.487 GB, free: 4.398 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.574, allocations: 2.818 MB / 1.49 GB, free: 1.43 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.5745, allocations: 0.7872 MB / 1.491 GB, free: 0.6133 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002229/0.5747, allocations: 66.92 kB / 1.491 GB, free: 0.543 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.5748, allocations: 91.41 kB / 1.491 GB, free: 464 kB / 1.186 GB Notification: Performance of SimCode: time 5.81e-07/0.5748, allocations: 0 / 1.491 GB, free: 464 kB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04392/0.6187, allocations: 8.181 MB / 1.499 GB, free: 8.461 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.973, allocations: 18.08 kB / 1.499 GB, free: 8.445 MB / 1.201 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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: 15.329225080087781]