Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009249/0.0009249, allocations: 83.69 kB / 20.45 MB, free: 4.125 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.0009552/0.0009552, allocations: 169 kB / 23.82 MB, free: 0.7539 MB / 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.9263/0.9263, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.764/1.764, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.127e-05, allocations: 5.375 kB / 0.7872 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002411/0.002442, allocations: 0.6022 MB / 0.7877 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005665/0.003008, allocations: 180.7 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.003025, allocations: 0 / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.448e-05/0.003049, allocations: 1.25 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-06/0.003057, allocations: 3.938 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.003535, allocations: 51.81 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.003583, allocations: 5.438 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.003622, allocations: 3.984 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.711e-05/0.003649, allocations: 0 / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.254e-05/0.003672, allocations: 3.938 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.003683, allocations: 1.219 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.00388, allocations: 59.92 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.003893, allocations: 3.938 kB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.003909, allocations: 0.625 kB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.004053, allocations: 39.94 kB / 0.7881 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.004056, allocations: 1.406 kB / 0.7881 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004057, allocations: 0 / 0.7881 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.004061, allocations: 0 / 0.7881 GB, free: 11.49 MB / 0.7448 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.0003189/0.00438, allocations: 356.2 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.004425, allocations: 9 kB / 0.7884 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.004468, allocations: 0.9375 kB / 0.7884 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.667e-05/0.004545, allocations: 106.1 kB / 0.7885 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.004559, allocations: 4.375 kB / 0.7885 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.004572, allocations: 1.406 kB / 0.7885 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.567e-05/0.004668, allocations: 30.25 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.004679, allocations: 192 / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.004688, allocations: 0.9062 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.004696, allocations: 2.031 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.004718, allocations: 7.938 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.004842, allocations: 108.6 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.793e-05/0.004889, allocations: 31.03 kB / 0.7887 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.004909, allocations: 9.281 kB / 0.7887 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005357/0.005445, allocations: 77.19 kB / 0.7888 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.005471, allocations: 37.39 kB / 0.7888 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.633e-06/0.005473, allocations: 3.031 kB / 0.7888 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001239/0.005597, allocations: 33.64 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.00562, allocations: 51.41 kB / 0.7889 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.622e-05/0.005656, allocations: 142.2 kB / 0.7891 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.005667, allocations: 29.69 kB / 0.7891 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.005693, allocations: 126.9 kB / 0.7892 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.00572, allocations: 4 kB / 0.7892 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.005744, allocations: 20.09 kB / 0.7892 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.005852, allocations: 500 kB / 0.7897 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.164e-05/0.005864, allocations: 4.531 kB / 0.7897 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.005869, allocations: 1.375 kB / 0.7897 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/0.005895, allocations: 11.69 kB / 0.7897 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005897, allocations: 0 / 0.7897 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.233e-05/0.005939, allocations: 38.78 kB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.005951, allocations: 4 kB / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.005955, allocations: 1.062 kB / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.00597, allocations: 0 / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.884e-05/0.006019, allocations: 4 kB / 0.7898 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.006025, allocations: 1.75 kB / 0.7898 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.006035, allocations: 7.938 kB / 0.7898 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.006042, allocations: 4 kB / 0.7898 GB, free: 9.574 MB / 0.7448 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.721e-05/0.006109, allocations: 156.6 kB / 0.7899 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-06/0.006113, allocations: 1.531 kB / 0.7899 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.737e-05/0.00619, allocations: 36.69 kB / 0.79 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.006193, allocations: 0 / 0.79 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.006197, allocations: 0.5 kB / 0.79 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.006201, allocations: 4.547 kB / 0.79 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.295e-05/0.006264, allocations: 120.5 kB / 0.7901 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.006265, allocations: 1.5 kB / 0.7901 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-06/0.006272, allocations: 3.938 kB / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.006277, allocations: 0 / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.006284, allocations: 0 / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006285, allocations: 0.5312 kB / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.006289, allocations: 9.672 kB / 0.7901 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.981e-05/0.006339, allocations: 64.39 kB / 0.7902 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-06/0.006343, allocations: 0 / 0.7902 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.00635, allocations: 4 kB / 0.7902 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-06/0.006354, allocations: 0.9062 kB / 0.7902 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.006366, allocations: 3.984 kB / 0.7902 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.006369, allocations: 0.5312 kB / 0.7902 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.006398, allocations: 119.2 kB / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006399, allocations: 0.625 kB / 0.7903 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001383/0.006537, allocations: 15.94 kB / 0.7903 GB, free: 8.973 MB / 0.7448 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.0001591/0.006696, allocations: 129.7 kB / 0.7904 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.351e-05/0.006759, allocations: 12.56 kB / 0.7904 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.006761, allocations: 4 kB / 0.7904 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.541e-06/0.006767, allocations: 9.031 kB / 0.7904 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.834e-05/0.006855, allocations: 0 / 0.7904 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001807/0.007036, allocations: 88.03 kB / 0.7905 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.475e-05/0.00707, allocations: 52.23 kB / 0.7906 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.146e-05/0.007082, allocations: 3.984 kB / 0.7906 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.007098, allocations: 14.62 kB / 0.7906 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.007099, allocations: 0 / 0.7906 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of Templates: time 0.002103/0.009202, allocations: 438.2 kB / 0.791 GB, free: 8.191 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.948342877905816]