Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.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.0009756/0.0009756, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001023/0.001023, allocations: 161 kB / 24.17 MB, free: 320 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.057/1.057, allocations: 177.2 MB / 204.6 MB, free: 5.129 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 2.028/2.028, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 177] 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.918e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002141/0.00217, allocations: 1.549 MB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004336/0.002604, allocations: 242.8 kB / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.002627, allocations: 0.9688 kB / 0.7618 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.002658, allocations: 7.922 kB / 0.7618 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.002702, allocations: 3.125 kB / 0.7618 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.002973, allocations: 53.02 kB / 0.7619 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.003035, allocations: 20.09 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.999e-05/0.003105, allocations: 7.984 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.1e-05/0.003156, allocations: 8.875 kB / 0.7619 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.034e-05/0.003186, allocations: 9.891 kB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.003196, allocations: 0.875 kB / 0.7619 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.003336, allocations: 73.75 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.00335, allocations: 1.203 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.285e-05/0.003363, allocations: 5.781 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.003486, allocations: 61.16 kB / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003488, allocations: 0 / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.32e-07/0.003489, allocations: 0.6562 kB / 0.762 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.003492, allocations: 0 / 0.762 GB, free: 4.547 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.0002712/0.003763, allocations: 242 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.003794, allocations: 8.031 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.003817, allocations: 5.672 kB / 0.7623 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.226e-05/0.003889, allocations: 110.4 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.003898, allocations: 1.125 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.003909, allocations: 4.375 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.003999, allocations: 59.41 kB / 0.7625 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.004004, allocations: 6.156 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.00401, allocations: 384 / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.004014, allocations: 1.031 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.893e-05/0.004033, allocations: 11.92 kB / 0.7625 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.004209, allocations: 136.3 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.771e-05/0.004246, allocations: 31.92 kB / 0.7626 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.175e-05/0.004258, allocations: 4.859 kB / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/0.004506, allocations: 74.02 kB / 0.7627 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.004527, allocations: 31.11 kB / 0.7627 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.004528, allocations: 2.188 kB / 0.7627 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.799e-05/0.004626, allocations: 41.69 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.00465, allocations: 55.34 kB / 0.7628 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.92e-05/0.004699, allocations: 102.7 kB / 0.7629 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.004707, allocations: 26.36 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.496e-05/0.004732, allocations: 90.83 kB / 0.763 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.00475, allocations: 7.938 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.004773, allocations: 13.72 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.00484, allocations: 310.8 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.004851, allocations: 0 / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.926e-06/0.00486, allocations: 4.766 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.119e-05/0.004881, allocations: 12.84 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.004882, allocations: 1.469 kB / 0.7634 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.562e-05/0.004928, allocations: 37.7 kB / 0.7634 GB, free: 3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.004941, allocations: 7.984 kB / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.004945, allocations: 0.9375 kB / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.004954, allocations: 0 / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.005006, allocations: 17.47 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.005008, allocations: 0 / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.005023, allocations: 0 / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.005027, allocations: 0.6562 kB / 0.7634 GB, free: 2.977 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.915e-05/0.005076, allocations: 118.3 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.00509, allocations: 3.312 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.094e-05/0.005151, allocations: 49.88 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-06/0.005152, allocations: 0 / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.005154, allocations: 3.938 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.005157, allocations: 0 / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.011e-05/0.005237, allocations: 65.89 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005237, allocations: 0 / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.005258, allocations: 7.984 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.00526, allocations: 4 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-06/0.005263, allocations: 3.781 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.005265, allocations: 3.938 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005266, allocations: 0 / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.583e-05/0.005331, allocations: 131.5 kB / 0.7638 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-06/0.005338, allocations: 7.953 kB / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-06/0.005345, allocations: 0 / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.815e-05/0.005373, allocations: 0.9688 kB / 0.7638 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.005401, allocations: 8.172 kB / 0.7638 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.005403, allocations: 0.7812 kB / 0.7638 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.405e-05/0.005417, allocations: 20.78 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005417, allocations: 0.5 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000133/0.00555, allocations: 15.66 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.0001505/0.0057, allocations: 100.3 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.726e-05/0.005758, allocations: 24.77 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.00576, allocations: 0 / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-05/0.005774, allocations: 12.08 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.005901, allocations: 4 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.006085, allocations: 100.7 kB / 0.7641 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.982e-05/0.006115, allocations: 55.36 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.372e-05/0.006129, allocations: 0 / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.006163, allocations: 55.36 kB / 0.7642 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.006164, allocations: 3.219 kB / 0.7642 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of Templates: time 0.002368/0.008532, allocations: 0.6997 MB / 0.7649 GB, free: 1.426 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.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.180939314886928]