Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.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.0009676/0.0009676, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.0009998/0.0009998, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 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.048/1.048, allocations: 177.1 MB / 204.6 MB, free: 5.176 MB / 186.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.971/1.971, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 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.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.76 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.679e-05, allocations: 6.703 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002043/0.00207, allocations: 1.542 MB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004624/0.002532, allocations: 259.7 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.002561, allocations: 0 / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.002586, allocations: 1 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.002632, allocations: 9.672 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.002919, allocations: 49.14 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.945e-05/0.002979, allocations: 28.14 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.236e-05/0.003051, allocations: 5.688 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.003105, allocations: 11.98 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.193e-05/0.003136, allocations: 13.83 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.003147, allocations: 5.156 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.003288, allocations: 61.36 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.003302, allocations: 4.641 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.003316, allocations: 10.23 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.003444, allocations: 61.09 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003445, allocations: 0 / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.003446, allocations: 1.781 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.00345, allocations: 0 / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002707/0.00372, allocations: 233 kB / 0.7623 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.003752, allocations: 13 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.003778, allocations: 10.16 kB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.832e-05/0.003856, allocations: 109.8 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-06/0.003865, allocations: 384 / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-06/0.003871, allocations: 384 / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.257e-05/0.003964, allocations: 59.69 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003971, allocations: 192 / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-06/0.003976, allocations: 1 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.003981, allocations: 1.125 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.077e-05/0.004002, allocations: 16.52 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.004186, allocations: 145.8 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.36e-05/0.00422, allocations: 18.58 kB / 0.7626 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.004233, allocations: 12.92 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.0045, allocations: 74.77 kB / 0.7627 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.004522, allocations: 34.5 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.004524, allocations: 0.7656 kB / 0.7628 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.974e-05/0.004624, allocations: 35.17 kB / 0.7628 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.004648, allocations: 59.34 kB / 0.7628 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.004966, allocations: 110.7 kB / 0.763 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.004975, allocations: 28.45 kB / 0.763 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.454e-05/0.005, allocations: 80.14 kB / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.005015, allocations: 7.891 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.005038, allocations: 14.38 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.00511, allocations: 318.8 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/0.005118, allocations: 4 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.005126, allocations: 0 / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.319e-05/0.005149, allocations: 14.98 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.00515, allocations: 0 / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.432e-05/0.005195, allocations: 38.34 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005207, allocations: 4 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.005211, allocations: 0.875 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.005222, allocations: 4 kB / 0.7634 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.005273, allocations: 11.94 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005275, allocations: 0.7812 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.005295, allocations: 11.05 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.005299, allocations: 0 / 0.7635 GB, free: 2.98 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 (2): * Single equations (assignments): 2 * 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 4.932e-05/0.005349, allocations: 105.8 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.005364, allocations: 7.938 kB / 0.7636 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.005425, allocations: 37 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005426, allocations: 0 / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.005428, allocations: 5.25 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005431, allocations: 0 / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.699e-05/0.005508, allocations: 70.39 kB / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.005509, allocations: 0 / 0.7637 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.00553, allocations: 14.69 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.005532, allocations: 0 / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.005536, allocations: 0 / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.005538, allocations: 4 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005539, allocations: 0 / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.89e-05/0.005608, allocations: 135.4 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.005615, allocations: 14.38 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.005623, allocations: 3.984 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.929e-05/0.005652, allocations: 4 kB / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.005676, allocations: 0 / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.005679, allocations: 192 / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.332e-05/0.005692, allocations: 20.77 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.005692, allocations: 0 / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001348/0.005827, allocations: 21.44 kB / 0.7639 GB, free: 2.504 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 (2): * Single equations (assignments): 2 * 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.0001336/0.005961, allocations: 97.91 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.963e-05/0.00601, allocations: 9.984 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.006013, allocations: 0 / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.006027, allocations: 12.8 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.006147, allocations: 4.969 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.006345, allocations: 101.4 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.315e-05/0.006379, allocations: 60 kB / 0.7642 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.695e-05/0.006396, allocations: 0.625 kB / 0.7642 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.006434, allocations: 55.36 kB / 0.7642 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.006434, allocations: 1.125 kB / 0.7642 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of Templates: time 0.00227/0.008704, allocations: 0.7134 MB / 0.7649 GB, free: 1.422 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.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: 5.029458857141435]