Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001541/0.001541, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.00176/0.00176, allocations: 214.9 kB / 22.99 MB, free: 4.945 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [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.002051/0.002051, allocations: 66.11 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.285, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002759/0.2877, allocations: 1.611 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.2893, allocations: 0.9309 MB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.2893, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.2894, allocations: 7.875 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.2895, allocations: 23.78 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.2899, allocations: 159.6 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.2901, allocations: 79.66 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.433e-05/0.2902, allocations: 15.91 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2903, allocations: 39.8 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.2904, allocations: 43.83 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.2904, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.2908, allocations: 287.7 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2908, allocations: 11.92 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.193e-05/0.2909, allocations: 27.86 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.2911, allocations: 159.4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2911, allocations: 4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2911, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2911, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005588/0.2917, allocations: 345.7 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.2917, allocations: 12.03 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/0.292, allocations: 36.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.2922, allocations: 130.4 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.2923, allocations: 4.375 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.2923, allocations: 8.297 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2925, allocations: 61.98 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2925, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.2925, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.2925, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.2926, allocations: 39.97 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.293, allocations: 236.5 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.2932, allocations: 58.42 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.2933, allocations: 28.97 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.2933, allocations: 4 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.2933, allocations: 34.56 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.2933, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003664/0.2937, allocations: 105.6 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2937, allocations: 55.34 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.2938, allocations: 141.2 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.2939, allocations: 25.7 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.2939, allocations: 96.09 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.2939, allocations: 19.83 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.294, allocations: 21.72 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2941, allocations: 318.8 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.2942, allocations: 23.98 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.2943, allocations: 23.98 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.2944, allocations: 52.83 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2944, allocations: 3.938 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002259/0.2947, allocations: 93.56 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2947, allocations: 7.984 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.2947, allocations: 0 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2947, allocations: 448 / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2948, allocations: 15.98 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.2948, allocations: 3.984 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.2949, allocations: 12 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2949, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 9.194e-05/0.295, allocations: 117.8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.295, allocations: 19.78 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.2953, allocations: 106 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2953, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.2953, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2953, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.2955, allocations: 133.2 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2955, allocations: 0 / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.2956, allocations: 11.98 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2956, allocations: 0 / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.2956, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2956, allocations: 4 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2956, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.2959, allocations: 187.4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.496e-05/0.2959, allocations: 11.94 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2959, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.574e-05/0.296, allocations: 11.92 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.296, allocations: 8 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.296, allocations: 3.984 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.957e-05/0.2961, allocations: 103.3 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.2961, allocations: 4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002553/0.2964, allocations: 23.94 kB / 1.333 GB, free: 10.57 MB / 1.029 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 (6): * Single equations (assignments): 6 * 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.0001656/0.2965, allocations: 111.2 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.2968, allocations: 51.97 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2968, allocations: 0 / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.172e-05/0.2968, allocations: 27.92 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.2971, allocations: 29.44 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.2975, allocations: 185.6 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.458e-05/0.2976, allocations: 75.33 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.908e-05/0.2977, allocations: 11.98 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.2977, allocations: 11.44 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.2977, allocations: 0 / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of Templates: time 0.004049/0.3018, allocations: 1.227 MB / 1.335 GB, free: 8.809 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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: 8.348499350002385]