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.0007919/0.0007919, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001854, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006947/0.0006947, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009339/0.001629, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8805/0.8805, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08143/0.9619, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.796/1.796, allocations: 378.4 MB / 0.6079 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4735/2.27, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.552e-06/1.552e-06, allocations: 3.938 kB / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.477e-05/2.632e-05, allocations: 6.125 kB / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002848/0.002875, allocations: 1.709 MB / 0.7314 GB, free: 2.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.004268, allocations: 0.9727 MB / 0.7323 GB, free: 1.715 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.672e-05/0.004325, allocations: 7.938 kB / 0.7323 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.004349, allocations: 8.578 kB / 0.7323 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.78e-05/0.004437, allocations: 26.81 kB / 0.7324 GB, free: 1.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.004723, allocations: 133.1 kB / 0.7325 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.004846, allocations: 88.08 kB / 0.7326 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.174e-05/0.004918, allocations: 12.47 kB / 0.7326 GB, free: 1.461 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.005064, allocations: 64.47 kB / 0.7326 GB, free: 1.398 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.005134, allocations: 20.64 kB / 0.7327 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.00515, allocations: 4 kB / 0.7327 GB, free: 1.375 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003347/0.005485, allocations: 304.1 kB / 0.733 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.005506, allocations: 11.94 kB / 0.733 GB, free: 1.066 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.005531, allocations: 13.12 kB / 0.733 GB, free: 1.055 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.005737, allocations: 139.5 kB / 0.7331 GB, free: 0.918 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.005749, allocations: 0 / 0.7331 GB, free: 0.918 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.72e-07/0.00575, allocations: 0.9688 kB / 0.7331 GB, free: 0.918 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.00576, allocations: 0 / 0.7331 GB, free: 0.918 MB / 0.698 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.0004251/0.006185, allocations: 337.6 kB / 0.7334 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.006216, allocations: 8.031 kB / 0.7334 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.006421, allocations: 110.8 kB / 0.7336 GB, free: 444 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.00655, allocations: 136.2 kB / 0.7337 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-06/0.006557, allocations: 2.031 kB / 0.7337 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.006567, allocations: 4.375 kB / 0.7337 GB, free: 280 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.777e-05/0.006655, allocations: 62.92 kB / 0.7338 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.006661, allocations: 4.125 kB / 0.7338 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.006668, allocations: 5.25 kB / 0.7338 GB, free: 200 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.006672, allocations: 3.938 kB / 0.7338 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.006699, allocations: 7.984 kB / 0.7338 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002268/0.006925, allocations: 181.2 kB / 0.7339 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.006987, allocations: 32.33 kB / 0.734 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.007004, allocations: 12.84 kB / 0.734 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.007016, allocations: 7.938 kB / 0.734 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.007035, allocations: 31.72 kB / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.007036, allocations: 0 / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001281/0.007164, allocations: 53.75 kB / 0.7341 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.007187, allocations: 56.06 kB / 0.7341 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/0.007249, allocations: 130.7 kB / 0.7343 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.007258, allocations: 26.83 kB / 0.7343 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.00729, allocations: 96.11 kB / 0.7344 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.007306, allocations: 19.84 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.007335, allocations: 22.3 kB / 0.7344 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.0074, allocations: 318.8 kB / 0.7347 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/0.007413, allocations: 8.469 kB / 0.7347 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/0.007425, allocations: 8.875 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.007461, allocations: 20.84 kB / 0.7348 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007463, allocations: 1.219 kB / 0.7348 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.665e-05/0.007539, allocations: 61.66 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.00755, allocations: 4 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007555, allocations: 3.938 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.007564, allocations: 1.156 kB / 0.7348 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.373e-05/0.007637, allocations: 19.92 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.00764, allocations: 0.9062 kB / 0.7348 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.007665, allocations: 7.938 kB / 0.7348 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.00767, allocations: 0 / 0.7348 GB, free: 14.99 MB / 0.7136 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 5.387e-05/0.007724, allocations: 110.7 kB / 0.735 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.007751, allocations: 9.359 kB / 0.735 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.574e-05/0.007847, allocations: 66.52 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.007849, allocations: 0 / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.007851, allocations: 64 / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.007855, allocations: 5.25 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.281e-05/0.007948, allocations: 85.86 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.007949, allocations: 0 / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.007993, allocations: 21.11 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.008001, allocations: 7.953 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.008003, allocations: 0 / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.008008, allocations: 5.25 kB / 0.7351 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.008011, allocations: 7.922 kB / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008012, allocations: 0 / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.853e-05/0.008101, allocations: 143.5 kB / 0.7353 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.869e-06/0.008111, allocations: 5.031 kB / 0.7353 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.425e-05/0.008145, allocations: 3.984 kB / 0.7353 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.008172, allocations: 8.469 kB / 0.7353 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.008174, allocations: 0 / 0.7353 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.008197, allocations: 36.27 kB / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.008197, allocations: 0 / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001309/0.008328, allocations: 23.94 kB / 0.7354 GB, free: 14.41 MB / 0.7136 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.0001165/0.008445, allocations: 97 kB / 0.7355 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.796e-05/0.008513, allocations: 35.55 kB / 0.7355 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.008519, allocations: 3.984 kB / 0.7355 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.597e-05/0.008545, allocations: 20.84 kB / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.008721, allocations: 98.5 kB / 0.7356 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.00968, allocations: 204.2 kB / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.009718, allocations: 59.34 kB / 0.7359 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.00975, allocations: 4.5 kB / 0.7359 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.009805, allocations: 64.11 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.009806, allocations: 3.938 kB / 0.7359 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.002608/0.01241, allocations: 1.23 MB / 0.7371 GB, free: 12.6 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.659917054697871]