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.001656/0.001656, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001986/0.001986, allocations: 218 kB / 23.04 MB, free: 5.078 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.822/2.822, allocations: 476.7 MB / 0.7715 GB, free: 4.5 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.002/0.002, allocations: 64.62 kB / 1.118 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3272, allocations: 170 MB / 1.284 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2259/0.5531, allocations: 171.2 MB / 1.451 GB, free: 15.86 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00951/0.5626, allocations: 6.635 MB / 1.458 GB, free: 9.199 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005019/0.5631, allocations: 15.88 kB / 1.458 GB, free: 9.184 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.5637, allocations: 170.7 kB / 1.458 GB, free: 9.016 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.5661, allocations: 0.8908 MB / 1.459 GB, free: 8.121 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.5671, allocations: 350.4 kB / 1.459 GB, free: 7.781 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.5681, allocations: 0.7329 MB / 1.46 GB, free: 7.043 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.5686, allocations: 223.9 kB / 1.46 GB, free: 6.828 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.5699, allocations: 0.5837 MB / 1.461 GB, free: 6.242 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.5703, allocations: 286.9 kB / 1.461 GB, free: 5.961 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.5704, allocations: 20 kB / 1.461 GB, free: 5.941 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.5711, allocations: 375.1 kB / 1.461 GB, free: 5.574 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.5713, allocations: 107.6 kB / 1.461 GB, free: 5.469 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.5715, allocations: 167.1 kB / 1.462 GB, free: 5.305 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0007322/0.5722, allocations: 478.2 kB / 1.462 GB, free: 4.836 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5722, allocations: 0 / 1.462 GB, free: 4.836 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5722, allocations: 0 / 1.462 GB, free: 4.836 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.5722, allocations: 0 / 1.462 GB, free: 4.836 MB / 1.154 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.0009122/0.5731, allocations: 0.5555 MB / 1.463 GB, free: 4.25 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.5732, allocations: 8.031 kB / 1.463 GB, free: 4.242 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.106e-05/0.5732, allocations: 8.656 kB / 1.463 GB, free: 4.23 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.642e-05/0.5732, allocations: 70.47 kB / 1.463 GB, free: 4.152 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/0.5736, allocations: 63.67 kB / 1.463 GB, free: 4.09 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/0.5741, allocations: 259.6 kB / 1.463 GB, free: 3.812 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.5741, allocations: 20.66 kB / 1.463 GB, free: 3.793 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.5742, allocations: 28 kB / 1.463 GB, free: 3.766 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.5748, allocations: 320.9 kB / 1.463 GB, free: 3.426 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5748, allocations: 0 / 1.463 GB, free: 3.426 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.5748, allocations: 8 kB / 1.463 GB, free: 3.418 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.5748, allocations: 12 kB / 1.463 GB, free: 3.406 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.5753, allocations: 201.5 kB / 1.464 GB, free: 3.207 MB / 1.154 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.00173/0.577, allocations: 1.496 MB / 1.465 GB, free: 1.586 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.5773, allocations: 114.5 kB / 1.465 GB, free: 1.465 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.5775, allocations: 80.8 kB / 1.465 GB, free: 1.383 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/0.578, allocations: 75.86 kB / 1.465 GB, free: 1.309 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.578, allocations: 42.55 kB / 1.465 GB, free: 1.258 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.037e-05/0.578, allocations: 3.984 kB / 1.465 GB, free: 1.254 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0008156/0.5788, allocations: 268.8 kB / 1.466 GB, free: 0.9883 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.5789, allocations: 55.41 kB / 1.466 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.5792, allocations: 308.5 kB / 1.466 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.5792, allocations: 29.7 kB / 1.466 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.5794, allocations: 188.2 kB / 1.466 GB, free: 400 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.5794, allocations: 51.56 kB / 1.466 GB, free: 348 kB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.5795, allocations: 37.7 kB / 1.466 GB, free: 304 kB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5797, allocations: 342.7 kB / 1.467 GB, free: 15.95 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.5799, allocations: 63.86 kB / 1.467 GB, free: 15.89 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.5801, allocations: 115.8 kB / 1.467 GB, free: 15.76 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.5804, allocations: 180.9 kB / 1.467 GB, free: 15.57 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5804, allocations: 0 / 1.467 GB, free: 15.57 MB / 1.17 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004473/0.5809, allocations: 213.3 kB / 1.467 GB, free: 15.35 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5809, allocations: 4 kB / 1.467 GB, free: 15.35 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.5809, allocations: 0 / 1.467 GB, free: 15.35 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5809, allocations: 8.156 kB / 1.467 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.5811, allocations: 43.91 kB / 1.467 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.5811, allocations: 0 / 1.467 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.5813, allocations: 27.83 kB / 1.467 GB, free: 15.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.5813, allocations: 8 kB / 1.467 GB, free: 15.26 MB / 1.17 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.0001599/0.5815, allocations: 153.7 kB / 1.467 GB, free: 15.1 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.5815, allocations: 27.81 kB / 1.467 GB, free: 15.07 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.582, allocations: 216.2 kB / 1.468 GB, free: 14.85 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.582, allocations: 0 / 1.468 GB, free: 14.85 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.582, allocations: 0 / 1.468 GB, free: 14.85 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.582, allocations: 0 / 1.468 GB, free: 14.85 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.5831, allocations: 0.6475 MB / 1.468 GB, free: 14.13 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5831, allocations: 7.922 kB / 1.468 GB, free: 14.12 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.5833, allocations: 27.98 kB / 1.468 GB, free: 14.1 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.5833, allocations: 4 kB / 1.468 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.5833, allocations: 3.938 kB / 1.468 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5833, allocations: 4.219 kB / 1.468 GB, free: 14.09 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5833, allocations: 7.938 kB / 1.468 GB, free: 14.08 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.5838, allocations: 337.3 kB / 1.469 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.5839, allocations: 47.73 kB / 1.469 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.5839, allocations: 7.938 kB / 1.469 GB, free: 13.66 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.5841, allocations: 11.98 kB / 1.469 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.5841, allocations: 11.92 kB / 1.469 GB, free: 13.63 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.5841, allocations: 12 kB / 1.469 GB, free: 13.62 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002415/0.5844, allocations: 227 kB / 1.469 GB, free: 13.4 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5844, allocations: 0 / 1.469 GB, free: 13.4 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003911/0.5848, allocations: 71.89 kB / 1.469 GB, free: 13.33 MB / 1.17 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.0009654/0.5857, allocations: 0.9095 MB / 1.47 GB, free: 12.38 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0004244/0.5862, allocations: 159.8 kB / 1.47 GB, free: 12.22 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.5862, allocations: 0 / 1.47 GB, free: 12.22 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.5864, allocations: 84.2 kB / 1.47 GB, free: 12.14 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008752/0.5872, allocations: 141.8 kB / 1.47 GB, free: 12 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003884/0.5911, allocations: 2.821 MB / 1.473 GB, free: 9.02 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.5916, allocations: 0.7795 MB / 1.474 GB, free: 8.215 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002245/0.5918, allocations: 70.92 kB / 1.474 GB, free: 8.145 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.5919, allocations: 91.41 kB / 1.474 GB, free: 8.059 MB / 1.17 GB Notification: Performance of SimCode: time 6.01e-07/0.5919, allocations: 0 / 1.474 GB, free: 8.059 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.625, allocations: 8.34 MB / 1.482 GB, free: 15.95 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.69, allocations: 5.891 kB / 1.482 GB, free: 15.95 MB / 1.186 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.475588990026154]