Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001796, allocations: 109.7 kB / 16.27 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002115/0.002115, allocations: 188.2 kB / 17.2 MB, free: 5.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.2 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.56 kB / 0.8132 GB, free: 33.16 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3079, allocations: 140.4 MB / 0.9503 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006206/0.3141, allocations: 4.593 MB / 0.9548 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3152, allocations: 0.8186 MB / 0.9556 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.3153, allocations: 0 / 0.9556 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.3155, allocations: 27.77 kB / 0.9556 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.643e-05/0.3156, allocations: 35.7 kB / 0.9556 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.3161, allocations: 171.4 kB / 0.9558 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.3163, allocations: 171.4 kB / 0.9559 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3164, allocations: 16.91 kB / 0.956 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.3166, allocations: 79.69 kB / 0.956 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.3167, allocations: 87.66 kB / 0.9561 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.3167, allocations: 12 kB / 0.9561 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.317, allocations: 151.8 kB / 0.9563 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.364e-05/0.3171, allocations: 35.89 kB / 0.9563 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.386e-05/0.3171, allocations: 67.72 kB / 0.9564 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.3175, allocations: 231.6 kB / 0.9566 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3175, allocations: 4 kB / 0.9566 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3175, allocations: 3.938 kB / 0.9566 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3175, allocations: 0 / 0.9566 GB, free: 2.391 MB / 0.7325 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.0008669/0.3184, allocations: 475 kB / 0.9571 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3184, allocations: 15.91 kB / 0.9571 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.3185, allocations: 20.73 kB / 0.9571 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.3186, allocations: 185 kB / 0.9573 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3187, allocations: 8.375 kB / 0.9573 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.3187, allocations: 15.94 kB / 0.9573 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.319, allocations: 117.6 kB / 0.9574 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.319, allocations: 0 / 0.9574 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.319, allocations: 8 kB / 0.9574 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3191, allocations: 0 / 0.9574 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.3195, allocations: 139.8 kB / 0.9575 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009715/0.3204, allocations: 468.4 kB / 0.958 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.3207, allocations: 122.5 kB / 0.9581 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.3209, allocations: 76.8 kB / 0.9582 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.3223, allocations: 0.9606 MB / 0.9591 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3223, allocations: 38.5 kB / 0.9592 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3223, allocations: 0 / 0.9592 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.000677/0.323, allocations: 213.3 kB / 0.9594 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.323, allocations: 51.41 kB / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3232, allocations: 155.4 kB / 0.9596 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3232, allocations: 37.7 kB / 0.9596 GB, free: 15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.3233, allocations: 112.3 kB / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.3234, allocations: 39.36 kB / 0.9597 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.3235, allocations: 49.7 kB / 0.9598 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3236, allocations: 318.8 kB / 0.9601 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.3238, allocations: 83.88 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.3241, allocations: 113.3 kB / 0.9603 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.3245, allocations: 177.2 kB / 0.9604 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3245, allocations: 0 / 0.9604 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005492/0.3251, allocations: 239.3 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3251, allocations: 11.92 kB / 0.9607 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3251, allocations: 0 / 0.9607 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3252, allocations: 8.094 kB / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.3254, allocations: 59.84 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3255, allocations: 4 kB / 0.9608 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.3256, allocations: 31.67 kB / 0.9608 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.3256, allocations: 11.98 kB / 0.9608 GB, free: 13.72 MB / 0.7481 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 0.0001154/0.3258, allocations: 121.8 kB / 0.9609 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.3258, allocations: 19.83 kB / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.3263, allocations: 178.8 kB / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3263, allocations: 0 / 0.9611 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3263, allocations: 4 kB / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3263, allocations: 0 / 0.9611 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.3266, allocations: 213.6 kB / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3266, allocations: 0 / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.3267, allocations: 35.91 kB / 0.9613 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3267, allocations: 7.938 kB / 0.9614 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3268, allocations: 0 / 0.9614 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.3268, allocations: 0 / 0.9614 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3268, allocations: 7.938 kB / 0.9614 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.3272, allocations: 255.2 kB / 0.9616 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.3273, allocations: 108.9 kB / 0.9617 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.3273, allocations: 0 / 0.9617 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.3275, allocations: 11.98 kB / 0.9617 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.3275, allocations: 11.98 kB / 0.9617 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.3276, allocations: 0 / 0.9617 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.3276, allocations: 124.9 kB / 0.9618 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.3276, allocations: 0 / 0.9618 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003177/0.328, allocations: 60.31 kB / 0.9619 GB, free: 12.48 MB / 0.7481 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.0002917/0.3283, allocations: 159.1 kB / 0.9621 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005094/0.3288, allocations: 176.5 kB / 0.9622 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3288, allocations: 0 / 0.9622 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.329, allocations: 67.89 kB / 0.9623 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.3294, allocations: 30.98 kB / 0.9623 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005094/0.3299, allocations: 286.8 kB / 0.9626 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3302, allocations: 0.7006 MB / 0.9633 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.3302, allocations: 27.42 kB / 0.9633 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3302, allocations: 0 / 0.9633 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.004252/0.3345, allocations: 2.541 MB / 0.9658 GB, free: 8.457 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches