Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001346/0.001346, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001499/0.001499, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.851/2.851, allocations: 476.8 MB / 0.7715 GB, free: 3.898 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.002033/0.002033, allocations: 63.7 kB / 1.118 GB, free: 39.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3114, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2159/0.5273, allocations: 147.7 MB / 1.428 GB, free: 6.414 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008904/0.5362, allocations: 5.993 MB / 1.434 GB, free: 416 kB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004996/0.5367, allocations: 19.81 kB / 1.434 GB, free: 396 kB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.5374, allocations: 174.7 kB / 1.434 GB, free: 220 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.5398, allocations: 0.8441 MB / 1.435 GB, free: 15.37 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.5408, allocations: 344.6 kB / 1.436 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0009938/0.5418, allocations: 0.7291 MB / 1.436 GB, free: 14.3 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004351/0.5423, allocations: 223.2 kB / 1.436 GB, free: 14.09 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.5436, allocations: 0.5799 MB / 1.437 GB, free: 13.5 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.5441, allocations: 279 kB / 1.437 GB, free: 13.23 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.5442, allocations: 27.94 kB / 1.437 GB, free: 13.2 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006656/0.5448, allocations: 307.2 kB / 1.438 GB, free: 12.9 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.545, allocations: 99.72 kB / 1.438 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.5452, allocations: 143.3 kB / 1.438 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007326/0.5459, allocations: 470.2 kB / 1.438 GB, free: 12.2 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.5459, allocations: 8 kB / 1.438 GB, free: 12.2 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5459, allocations: 3.938 kB / 1.438 GB, free: 12.19 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.5459, allocations: 0 / 1.438 GB, free: 12.19 MB / 1.139 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.000897/0.5468, allocations: 0.5399 MB / 1.439 GB, free: 11.62 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.5469, allocations: 16.02 kB / 1.439 GB, free: 11.61 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.462e-05/0.5469, allocations: 8.594 kB / 1.439 GB, free: 11.59 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.5469, allocations: 62.55 kB / 1.439 GB, free: 11.52 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.5473, allocations: 63.67 kB / 1.439 GB, free: 11.46 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.5478, allocations: 263.7 kB / 1.439 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.5478, allocations: 20.66 kB / 1.439 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.5479, allocations: 24 kB / 1.439 GB, free: 11.14 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.5485, allocations: 320.9 kB / 1.44 GB, free: 10.8 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.5485, allocations: 8 kB / 1.44 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.5485, allocations: 12 kB / 1.44 GB, free: 10.78 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5485, allocations: 4 kB / 1.44 GB, free: 10.77 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004351/0.549, allocations: 209.4 kB / 1.44 GB, free: 10.57 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.5505, allocations: 1.19 MB / 1.441 GB, free: 9.312 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.5508, allocations: 118.4 kB / 1.441 GB, free: 9.188 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.551, allocations: 84.8 kB / 1.441 GB, free: 9.102 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005046/0.5515, allocations: 71.92 kB / 1.441 GB, free: 9.031 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.5515, allocations: 34.56 kB / 1.441 GB, free: 8.988 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.5515, allocations: 0 / 1.441 GB, free: 8.988 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0008332/0.5523, allocations: 281.5 kB / 1.442 GB, free: 8.707 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.5524, allocations: 51.41 kB / 1.442 GB, free: 8.645 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003586/0.5527, allocations: 316.5 kB / 1.442 GB, free: 8.328 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.5528, allocations: 25.7 kB / 1.442 GB, free: 8.297 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.5529, allocations: 188.2 kB / 1.442 GB, free: 8.109 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.553, allocations: 47.58 kB / 1.442 GB, free: 8.062 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.443e-05/0.5531, allocations: 33.7 kB / 1.442 GB, free: 8.023 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.5532, allocations: 342.8 kB / 1.442 GB, free: 7.68 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.5534, allocations: 63.86 kB / 1.443 GB, free: 7.617 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.5537, allocations: 186.2 kB / 1.443 GB, free: 7.398 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.554, allocations: 177 kB / 1.443 GB, free: 7.207 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.554, allocations: 0 / 1.443 GB, free: 7.207 MB / 1.139 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004643/0.5545, allocations: 225.3 kB / 1.443 GB, free: 6.98 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5545, allocations: 12 kB / 1.443 GB, free: 6.969 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.5545, allocations: 0 / 1.443 GB, free: 6.969 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.5545, allocations: 4 kB / 1.443 GB, free: 6.965 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.5547, allocations: 31.98 kB / 1.443 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.5547, allocations: 7.938 kB / 1.443 GB, free: 6.926 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.5549, allocations: 23.83 kB / 1.443 GB, free: 6.902 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.5549, allocations: 8 kB / 1.443 GB, free: 6.895 MB / 1.139 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.0001744/0.5551, allocations: 153.8 kB / 1.443 GB, free: 6.734 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.5552, allocations: 35.81 kB / 1.443 GB, free: 6.699 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005019/0.5557, allocations: 208.2 kB / 1.444 GB, free: 6.484 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5557, allocations: 0 / 1.444 GB, free: 6.484 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5557, allocations: 0 / 1.444 GB, free: 6.484 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.5557, allocations: 3.984 kB / 1.444 GB, free: 6.48 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.5569, allocations: 0.632 MB / 1.444 GB, free: 5.777 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5569, allocations: 4 kB / 1.444 GB, free: 5.773 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.5571, allocations: 31.92 kB / 1.444 GB, free: 5.742 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.5571, allocations: 4 kB / 1.444 GB, free: 5.738 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.5571, allocations: 3.938 kB / 1.444 GB, free: 5.734 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/0.5571, allocations: 4 kB / 1.444 GB, free: 5.73 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5571, allocations: 4 kB / 1.444 GB, free: 5.727 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.5576, allocations: 343.3 kB / 1.445 GB, free: 5.355 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.5577, allocations: 43.73 kB / 1.445 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.5577, allocations: 11.94 kB / 1.445 GB, free: 5.301 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.5579, allocations: 7.984 kB / 1.445 GB, free: 5.293 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.558, allocations: 19.92 kB / 1.445 GB, free: 5.273 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.558, allocations: 4 kB / 1.445 GB, free: 5.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002302/0.5582, allocations: 223 kB / 1.445 GB, free: 5.055 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5582, allocations: 0 / 1.445 GB, free: 5.055 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003846/0.5586, allocations: 71.89 kB / 1.445 GB, free: 4.984 MB / 1.139 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.001051/0.5596, allocations: 0.9175 MB / 1.446 GB, free: 4.016 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.56, allocations: 151.8 kB / 1.446 GB, free: 3.867 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.56, allocations: 0 / 1.446 GB, free: 3.867 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.5602, allocations: 75.89 kB / 1.446 GB, free: 3.793 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008952/0.5611, allocations: 151.9 kB / 1.446 GB, free: 3.648 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.5652, allocations: 2.833 MB / 1.449 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.5654, allocations: 175.8 kB / 1.449 GB, free: 480 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.5657, allocations: 58.94 kB / 1.449 GB, free: 420 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.5658, allocations: 91.41 kB / 1.449 GB, free: 332 kB / 1.139 GB Notification: Performance of SimCode: time 8.92e-07/0.5658, allocations: 0 / 1.449 GB, free: 332 kB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.601, allocations: 8.835 MB / 1.458 GB, free: 7.805 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.59, allocations: 6.406 kB / 1.458 GB, free: 7.801 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.50947809300851]