Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0009898/0.0009898, 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.001043/0.001043, 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 0.9114/0.9114, allocations: 177.1 MB / 204.6 MB, free: 5.445 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.943/1.943, allocations: 377.9 MB / 0.624 GB, free: 8.352 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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.548e-06/1.115e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.000953/0.0009642, allocations: 0.6122 MB / 0.7607 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003279/0.001292, allocations: 191.3 kB / 0.7608 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.05e-05/0.001303, allocations: 0 / 0.7608 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.001315, allocations: 1.938 kB / 0.7608 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.001321, allocations: 1.375 kB / 0.7608 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.001672, allocations: 59.75 kB / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.245e-05/0.001714, allocations: 0.7656 kB / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.00175, allocations: 0 / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.001777, allocations: 0.875 kB / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.65e-05/0.001803, allocations: 4 kB / 0.7609 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.786e-06/0.001812, allocations: 0.5312 kB / 0.7609 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.001961, allocations: 57.56 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.001972, allocations: 4.719 kB / 0.761 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.246e-06/0.00198, allocations: 4 kB / 0.761 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.684e-05/0.002067, allocations: 46.33 kB / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-06/0.002068, allocations: 0 / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.01e-07/0.002069, allocations: 0 / 0.761 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.002072, allocations: 0.875 kB / 0.761 GB, free: 5.637 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000169/0.002241, allocations: 221.2 kB / 0.7612 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.585e-05/0.002266, allocations: 8.031 kB / 0.7612 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.002285, allocations: 6 kB / 0.7612 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.544e-05/0.00233, allocations: 101.8 kB / 0.7613 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.00234, allocations: 4.359 kB / 0.7613 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.002347, allocations: 0.9062 kB / 0.7613 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.949e-05/0.002396, allocations: 31.48 kB / 0.7614 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.002402, allocations: 5.281 kB / 0.7614 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-06/0.002407, allocations: 384 / 0.7614 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.002411, allocations: 384 / 0.7614 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-06/0.00242, allocations: 5.031 kB / 0.7614 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.054e-05/0.00248, allocations: 65.02 kB / 0.7614 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.823e-05/0.002509, allocations: 19.34 kB / 0.7615 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-06/0.002518, allocations: 10.2 kB / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.002818, allocations: 77.48 kB / 0.7615 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.002835, allocations: 32.31 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.002836, allocations: 0 / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 6.695e-05/0.002903, allocations: 37.64 kB / 0.7616 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.002926, allocations: 51.41 kB / 0.7617 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.39e-05/0.00295, allocations: 95.95 kB / 0.7618 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.002958, allocations: 25.7 kB / 0.7618 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.645e-05/0.002974, allocations: 80.14 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.002998, allocations: 0.75 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.003015, allocations: 9.719 kB / 0.7619 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.003078, allocations: 323.4 kB / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-06/0.003081, allocations: 0 / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-06/0.003085, allocations: 0.75 kB / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.809e-05/0.003103, allocations: 15.2 kB / 0.7622 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.003104, allocations: 0 / 0.7622 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.125e-05/0.003136, allocations: 31.02 kB / 0.7622 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.003144, allocations: 4 kB / 0.7622 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.003148, allocations: 0 / 0.7622 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.003157, allocations: 5.031 kB / 0.7622 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.985e-05/0.003187, allocations: 3.984 kB / 0.7622 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.003189, allocations: 0 / 0.7622 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.101e-06/0.003195, allocations: 0.9375 kB / 0.7622 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.0032, allocations: 0 / 0.7622 GB, free: 4.258 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 (1): * Single equations (assignments): 1 * 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.026e-05/0.00325, allocations: 118.6 kB / 0.7623 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-06/0.003253, allocations: 0 / 0.7623 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.003298, allocations: 43.39 kB / 0.7624 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.003301, allocations: 3.984 kB / 0.7624 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-06/0.003303, allocations: 4.766 kB / 0.7624 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.003305, allocations: 0 / 0.7624 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.998e-05/0.003345, allocations: 65.84 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.11e-07/0.003345, allocations: 0 / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-06/0.003349, allocations: 0 / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.21e-07/0.00335, allocations: 2.781 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-06/0.003352, allocations: 0 / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.31e-07/0.003353, allocations: 0.875 kB / 0.7625 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.003354, allocations: 4 kB / 0.7625 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.513e-05/0.003389, allocations: 61 kB / 0.7625 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-06/0.003392, allocations: 0 / 0.7625 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-06/0.003397, allocations: 4 kB / 0.7625 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.166e-06/0.0034, allocations: 1.344 kB / 0.7625 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-06/0.003408, allocations: 0 / 0.7625 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-07/0.003409, allocations: 0 / 0.7625 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.378e-06/0.003414, allocations: 5.516 kB / 0.7625 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.003414, allocations: 2 kB / 0.7625 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of remove unused functions: time 9.878e-05/0.003513, allocations: 15.94 kB / 0.7626 GB, free: 3.887 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 (1): * Single equations (assignments): 1 * 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.000113/0.003625, allocations: 101.7 kB / 0.7626 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.053e-05/0.003666, allocations: 9.609 kB / 0.7627 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.003668, allocations: 0.6562 kB / 0.7627 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.003672, allocations: 9.453 kB / 0.7627 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.981e-05/0.003712, allocations: 6.094 kB / 0.7627 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001185/0.00383, allocations: 90.77 kB / 0.7628 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.366e-05/0.003854, allocations: 55.34 kB / 0.7628 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.514e-06/0.003861, allocations: 0 / 0.7628 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.003882, allocations: 52.14 kB / 0.7629 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.003883, allocations: 2.438 kB / 0.7629 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of Templates: time 0.001621/0.005504, allocations: 481.6 kB / 0.7633 GB, free: 3.055 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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: 4.831038836855441]