Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.0007685/0.0007685, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001798, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000709/0.000709, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001729, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8918/0.8918, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07999/0.9718, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.261/2.261, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1976/2.458, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.176e-06/9.498e-06, allocations: 2.312 kB / 0.8183 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.003903/0.003913, allocations: 4.789 MB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006898/0.004602, allocations: 0.8488 MB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.004643, allocations: 0 / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.501e-05/0.004728, allocations: 23.84 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.589e-05/0.004763, allocations: 35.66 kB / 0.8239 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.005085, allocations: 179.2 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.00522, allocations: 183.3 kB / 0.8243 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.005286, allocations: 13.95 kB / 0.8243 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.005436, allocations: 127.6 kB / 0.8244 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.005507, allocations: 63.84 kB / 0.8245 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.005525, allocations: 12 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.00574, allocations: 143.8 kB / 0.8246 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.005761, allocations: 23.88 kB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.005795, allocations: 35.94 kB / 0.8247 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.006022, allocations: 187.4 kB / 0.8248 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.006035, allocations: 0 / 0.8248 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.72e-07/0.006036, allocations: 0 / 0.8248 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.006051, allocations: 0 / 0.8248 GB, free: 12.17 MB / 0.8073 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.0005512/0.006602, allocations: 488.8 kB / 0.8253 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.006629, allocations: 12.03 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.006662, allocations: 12.92 kB / 0.8253 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/0.006748, allocations: 137.5 kB / 0.8255 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.006758, allocations: 4.375 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.006772, allocations: 12.38 kB / 0.8255 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.006914, allocations: 107.6 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.006921, allocations: 0 / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.006929, allocations: 4 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.006935, allocations: 4 kB / 0.8256 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.687e-05/0.007002, allocations: 35.97 kB / 0.8256 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.007431, allocations: 289.7 kB / 0.8259 GB, free: 11 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.684e-05/0.007518, allocations: 66.48 kB / 0.826 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.007545, allocations: 28.84 kB / 0.826 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/0.008065, allocations: 430.3 kB / 0.8264 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.008085, allocations: 38.56 kB / 0.8264 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.008086, allocations: 0 / 0.8264 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12): time 0.0001336/0.00822, allocations: 77.61 kB / 0.8265 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.008245, allocations: 55.41 kB / 0.8266 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.008329, allocations: 176.6 kB / 0.8267 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.008342, allocations: 25.7 kB / 0.8268 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.008386, allocations: 104.5 kB / 0.8269 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.008406, allocations: 47.58 kB / 0.8269 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.008455, allocations: 53.66 kB / 0.8269 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.008525, allocations: 322.8 kB / 0.8273 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.763e-05/0.008552, allocations: 16 kB / 0.8273 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.79e-05/0.0086, allocations: 59.38 kB / 0.8273 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.008674, allocations: 85.95 kB / 0.8274 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.008675, allocations: 3.938 kB / 0.8274 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001208/0.008796, allocations: 121.4 kB / 0.8275 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.008806, allocations: 4 kB / 0.8275 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.008811, allocations: 0 / 0.8275 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.008819, allocations: 4 kB / 0.8275 GB, free: 9.195 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.008951, allocations: 55.91 kB / 0.8276 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.008957, allocations: 7.922 kB / 0.8276 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.009009, allocations: 23.94 kB / 0.8276 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.009024, allocations: 16 kB / 0.8276 GB, free: 9.094 MB / 0.8073 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 5.225e-05/0.009076, allocations: 113.8 kB / 0.8277 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.009097, allocations: 11.98 kB / 0.8278 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.009202, allocations: 91.48 kB / 0.8278 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.009204, allocations: 0 / 0.8278 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.009206, allocations: 4 kB / 0.8278 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.00921, allocations: 3.938 kB / 0.8279 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.759e-05/0.009308, allocations: 101.8 kB / 0.8279 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.009309, allocations: 0 / 0.8279 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.009369, allocations: 35.97 kB / 0.828 GB, free: 8.703 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.009392, allocations: 11.95 kB / 0.828 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.009393, allocations: 3.938 kB / 0.828 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.009399, allocations: 4 kB / 0.828 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.009399, allocations: 0 / 0.828 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.0094, allocations: 0 / 0.828 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.729e-05/0.009488, allocations: 171.4 kB / 0.8282 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.0095, allocations: 4 kB / 0.8282 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.009546, allocations: 7.984 kB / 0.8282 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.009574, allocations: 15.97 kB / 0.8282 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.009578, allocations: 4 kB / 0.8282 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.009603, allocations: 43.62 kB / 0.8282 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009603, allocations: 0 / 0.8282 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001776/0.009781, allocations: 63.77 kB / 0.8283 GB, free: 8.363 MB / 0.8073 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.0001571/0.009938, allocations: 148.1 kB / 0.8284 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.01005, allocations: 82.33 kB / 0.8285 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.01005, allocations: 3.984 kB / 0.8285 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.01008, allocations: 32.78 kB / 0.8286 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.01024, allocations: 27.98 kB / 0.8286 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008287/0.01107, allocations: 245.6 kB / 0.8288 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.01111, allocations: 75.84 kB / 0.8289 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.926e-05/0.01117, allocations: 22.52 kB / 0.8289 GB, free: 7.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.01124, allocations: 75.36 kB / 0.829 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of SimCode: time 9.72e-07/0.01124, allocations: 0 / 0.829 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of Templates: time 0.004045/0.01529, allocations: 3.054 MB / 0.832 GB, free: 4.594 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8253533486276865]