Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 103.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 249.9 MB, free: 3.191 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.711/2.711, allocations: 476.7 MB / 0.7634 GB, free: 15.18 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=504,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=504,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 75.88 kB / 1.108 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.06, allocations: 168.7 MB / 1.272 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006265/1.067, allocations: 4.608 MB / 1.277 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001071/1.068, allocations: 0.8199 MB / 1.278 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.559e-05/1.068, allocations: 4.938 kB / 1.278 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/1.068, allocations: 29.59 kB / 1.278 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/1.068, allocations: 40.5 kB / 1.278 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/1.069, allocations: 171.7 kB / 1.278 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/1.069, allocations: 172.2 kB / 1.278 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/1.069, allocations: 17.28 kB / 1.278 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/1.069, allocations: 73.52 kB / 1.278 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/1.069, allocations: 88.22 kB / 1.278 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/1.069, allocations: 13.72 kB / 1.278 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/1.07, allocations: 154.4 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/1.07, allocations: 35.66 kB / 1.278 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.549e-05/1.07, allocations: 67.8 kB / 1.279 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004474/1.07, allocations: 244.5 kB / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.07, allocations: 0.9375 kB / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.634e-06/1.07, allocations: 0 / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.07, allocations: 0 / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008568/1.071, allocations: 484.4 kB / 1.279 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.071, allocations: 9.875 kB / 1.279 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/1.071, allocations: 16.14 kB / 1.279 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/1.071, allocations: 185.5 kB / 1.279 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/1.071, allocations: 8.375 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/1.071, allocations: 16.66 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/1.072, allocations: 120.4 kB / 1.28 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/1.072, allocations: 0.7188 kB / 1.28 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/1.072, allocations: 4.719 kB / 1.28 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.072, allocations: 5.719 kB / 1.28 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/1.072, allocations: 146.7 kB / 1.28 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/1.073, allocations: 458.5 kB / 1.28 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/1.073, allocations: 116.2 kB / 1.28 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/1.073, allocations: 68 kB / 1.28 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/1.075, allocations: 0.9622 MB / 1.281 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/1.075, allocations: 44.03 kB / 1.281 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/1.075, allocations: 0 / 1.281 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12): time 0.0006996/1.075, allocations: 205.1 kB / 1.282 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.075, allocations: 53.05 kB / 1.282 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/1.076, allocations: 167.9 kB / 1.282 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/1.076, allocations: 30.73 kB / 1.282 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/1.076, allocations: 108.4 kB / 1.282 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/1.076, allocations: 48.95 kB / 1.282 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.15e-05/1.076, allocations: 49.27 kB / 1.282 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.455e-05/1.076, allocations: 322 kB / 1.282 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/1.076, allocations: 86.36 kB / 1.282 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/1.076, allocations: 113.5 kB / 1.282 GB, free: 0.5273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/1.077, allocations: 171.4 kB / 1.283 GB, free: 460 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.077, allocations: 1.438 kB / 1.283 GB, free: 460 kB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006254/1.077, allocations: 245.2 kB / 1.283 GB, free: 356 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/1.077, allocations: 12.42 kB / 1.283 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.077, allocations: 1.719 kB / 1.283 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/1.077, allocations: 5.969 kB / 1.283 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/1.078, allocations: 54.89 kB / 1.283 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.078, allocations: 1.469 kB / 1.283 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/1.078, allocations: 31.84 kB / 1.283 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/1.078, allocations: 7.062 kB / 1.283 GB, free: 328 kB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 8.499e-05/1.078, allocations: 132.7 kB / 1.283 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/1.078, allocations: 13.28 kB / 1.283 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/1.079, allocations: 176 kB / 1.283 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.079, allocations: 3.188 kB / 1.283 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.079, allocations: 0.7031 kB / 1.283 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/1.079, allocations: 0.5156 kB / 1.283 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/1.079, allocations: 218.7 kB / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.079, allocations: 4 kB / 1.283 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/1.079, allocations: 28.03 kB / 1.284 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/1.079, allocations: 6.469 kB / 1.284 GB, free: 15.88 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/1.079, allocations: 8.5 kB / 1.284 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.079, allocations: 2.125 kB / 1.284 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.079, allocations: 0.5156 kB / 1.284 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/1.08, allocations: 249.1 kB / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.36e-05/1.08, allocations: 106.6 kB / 1.284 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/1.08, allocations: 4.734 kB / 1.284 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/1.08, allocations: 19.33 kB / 1.284 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/1.08, allocations: 9.609 kB / 1.284 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/1.08, allocations: 6.609 kB / 1.284 GB, free: 15.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.911e-05/1.08, allocations: 111.6 kB / 1.284 GB, free: 15.49 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.08, allocations: 7.938 kB / 1.284 GB, free: 15.48 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003811/1.08, allocations: 64.89 kB / 1.284 GB, free: 15.47 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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.0003477/1.081, allocations: 160.3 kB / 1.284 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005272/1.081, allocations: 156 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.081, allocations: 0 / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/1.082, allocations: 69.16 kB / 1.284 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/1.082, allocations: 28.17 kB / 1.284 GB, free: 15.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000566/1.082, allocations: 280.9 kB / 1.285 GB, free: 15.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/1.083, allocations: 0.7029 MB / 1.285 GB, free: 14.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/1.083, allocations: 20.84 kB / 1.285 GB, free: 14.37 MB / 1.014 GB Notification: Performance of SimCode: time 3.4e-07/1.083, allocations: 0 / 1.285 GB, free: 14.37 MB / 1.014 GB Notification: Performance of Templates: time 0.00544/1.088, allocations: 2.579 MB / 1.288 GB, free: 14.05 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches