Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0009593/0.0009593, allocations: 81.95 kB / 20.68 MB, free: 3.812 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.001014/0.001014, allocations: 185 kB / 24.09 MB, free: 412 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.9109/0.9109, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.89/1.89, allocations: 377.9 MB / 0.6239 GB, free: 8.434 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0.7656 kB / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.618e-05, allocations: 6.25 kB / 0.8121 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001397/0.001423, allocations: 0.6007 MB / 0.8126 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003808/0.001804, allocations: 177.7 kB / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.001822, allocations: 0 / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.001838, allocations: 0 / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.001844, allocations: 0 / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.002179, allocations: 52.69 kB / 0.8129 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.998e-05/0.002219, allocations: 4 kB / 0.8129 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.002255, allocations: 4.719 kB / 0.8129 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.759e-05/0.002282, allocations: 0 / 0.8129 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.179e-05/0.002304, allocations: 0 / 0.8129 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.002312, allocations: 1.688 kB / 0.8129 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.002468, allocations: 59.88 kB / 0.8129 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.002482, allocations: 3.984 kB / 0.8129 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-06/0.002491, allocations: 0 / 0.8129 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.0026, allocations: 49.41 kB / 0.813 GB, free: 476 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.002601, allocations: 0 / 0.813 GB, free: 476 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002602, allocations: 0 / 0.813 GB, free: 476 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.002606, allocations: 3.938 kB / 0.813 GB, free: 472 kB / 0.7605 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.0002559/0.002861, allocations: 341.5 kB / 0.8133 GB, free: 92 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.002905, allocations: 12.03 kB / 0.8133 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.002931, allocations: 0.9375 kB / 0.8133 GB, free: 80 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.887e-05/0.00301, allocations: 110 kB / 0.8134 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.003022, allocations: 4.375 kB / 0.8134 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.003028, allocations: 384 / 0.8134 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.414e-05/0.003092, allocations: 26.27 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.003099, allocations: 1.938 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-06/0.003103, allocations: 384 / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.00311, allocations: 4.359 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.003129, allocations: 7.938 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.855e-05/0.003217, allocations: 94.05 kB / 0.8136 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.189e-05/0.003249, allocations: 31.03 kB / 0.8136 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.003262, allocations: 8.438 kB / 0.8136 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003439/0.003606, allocations: 74.44 kB / 0.8137 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.003629, allocations: 37.39 kB / 0.8137 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.003631, allocations: 0 / 0.8137 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 9.547e-05/0.003726, allocations: 36.2 kB / 0.8137 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.003751, allocations: 51.41 kB / 0.8138 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.995e-05/0.003791, allocations: 142.2 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.003802, allocations: 29.69 kB / 0.814 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.00383, allocations: 126.9 kB / 0.8141 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.003856, allocations: 3.938 kB / 0.8141 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.003884, allocations: 19.91 kB / 0.8141 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.003999, allocations: 496.8 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.662e-06/0.004005, allocations: 0 / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.004012, allocations: 4.531 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.004038, allocations: 17.33 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00404, allocations: 0 / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001163/0.004156, allocations: 33.64 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.004174, allocations: 11.98 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.00418, allocations: 0.5625 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.004192, allocations: 0.5938 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.889e-05/0.004231, allocations: 0 / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.004235, allocations: 4.781 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.315e-05/0.004248, allocations: 4.281 kB / 0.8146 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.004252, allocations: 0.6875 kB / 0.8146 GB, free: 14.58 MB / 0.7761 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 6.065e-05/0.004313, allocations: 157.6 kB / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-06/0.004316, allocations: 0 / 0.8148 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.004375, allocations: 41.73 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.004378, allocations: 4 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.00438, allocations: 0 / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.004382, allocations: 0.8438 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.695e-05/0.004439, allocations: 97.2 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.00444, allocations: 3.938 kB / 0.8149 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/0.004446, allocations: 6.219 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.004447, allocations: 0 / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.004451, allocations: 4 kB / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.004452, allocations: 0 / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004452, allocations: 0 / 0.8149 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.157e-05/0.004504, allocations: 75.16 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.004509, allocations: 0 / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-06/0.004514, allocations: 0 / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.33e-06/0.004519, allocations: 0 / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-06/0.004528, allocations: 0 / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-06/0.00453, allocations: 4 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.668e-05/0.004556, allocations: 119.2 kB / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004556, allocations: 0 / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001295/0.004686, allocations: 21.52 kB / 0.8152 GB, free: 14 MB / 0.7761 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.0001582/0.004844, allocations: 120.3 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.927e-05/0.004893, allocations: 16.36 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.004895, allocations: 1.844 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.0049, allocations: 7.688 kB / 0.8153 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.357e-05/0.004993, allocations: 10.59 kB / 0.8153 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001496/0.005143, allocations: 83.94 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.487e-05/0.005168, allocations: 56.7 kB / 0.8154 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.336e-06/0.005176, allocations: 0 / 0.8154 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.005201, allocations: 66.2 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.005202, allocations: 1.094 kB / 0.8155 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.001777/0.006978, allocations: 485 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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: 4.784294351935387]