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.001072/0.001072, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.00111/0.00111, allocations: 161 kB / 23.82 MB, free: 0.75 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.9806/0.9806, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.86/1.86, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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 2.214e-06/2.214e-06, allocations: 0 / 0.8116 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.472e-05/3.693e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001342/0.001379, allocations: 0.6004 MB / 0.8122 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003943/0.001773, allocations: 179.2 kB / 0.8123 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.00179, allocations: 1.844 kB / 0.8123 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.001813, allocations: 0 / 0.8123 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.086e-06/0.001821, allocations: 3.938 kB / 0.8123 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.002339, allocations: 55.69 kB / 0.8124 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.021e-05/0.002399, allocations: 3.984 kB / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.002447, allocations: 4.734 kB / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.292e-05/0.00248, allocations: 0 / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.026e-05/0.002511, allocations: 4.688 kB / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.002526, allocations: 0 / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.002727, allocations: 52.8 kB / 0.8125 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.002745, allocations: 0 / 0.8125 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.002763, allocations: 0 / 0.8125 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.002925, allocations: 52.45 kB / 0.8125 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.002929, allocations: 1.094 kB / 0.8125 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.749e-06/0.002934, allocations: 0 / 0.8125 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.002941, allocations: 0 / 0.8125 GB, free: 15.62 MB / 0.7292 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.0003493/0.00329, allocations: 349 kB / 0.8128 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.003342, allocations: 8.031 kB / 0.8129 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.003397, allocations: 1.531 kB / 0.8129 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.749e-05/0.003484, allocations: 108.6 kB / 0.813 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.003506, allocations: 5.625 kB / 0.813 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.003524, allocations: 384 / 0.813 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.003647, allocations: 30.2 kB / 0.813 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.003662, allocations: 2.406 kB / 0.813 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.003674, allocations: 384 / 0.813 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.003684, allocations: 384 / 0.813 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.927e-05/0.003703, allocations: 7.938 kB / 0.813 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.003843, allocations: 112.6 kB / 0.8131 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/0.003895, allocations: 27.84 kB / 0.8131 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.003918, allocations: 7.688 kB / 0.8131 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004378/0.004356, allocations: 77.92 kB / 0.8132 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.004382, allocations: 38.86 kB / 0.8133 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.004383, allocations: 0 / 0.8133 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.004537, allocations: 33.69 kB / 0.8133 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.004572, allocations: 53.25 kB / 0.8133 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.108e-05/0.004623, allocations: 142.2 kB / 0.8135 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.004633, allocations: 29.7 kB / 0.8135 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.004662, allocations: 126.9 kB / 0.8136 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.004695, allocations: 4 kB / 0.8136 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.004728, allocations: 16.53 kB / 0.8136 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.00485, allocations: 0.4883 MB / 0.8141 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.004862, allocations: 0 / 0.8141 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.004869, allocations: 1.438 kB / 0.8141 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.004905, allocations: 15.62 kB / 0.8141 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.004907, allocations: 0 / 0.8141 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.019e-05/0.004957, allocations: 38.22 kB / 0.8142 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.004971, allocations: 4.531 kB / 0.8142 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.004979, allocations: 8.469 kB / 0.8142 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.004996, allocations: 0.8438 kB / 0.8142 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.027e-05/0.005046, allocations: 4 kB / 0.8142 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.005053, allocations: 0 / 0.8142 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-06/0.005061, allocations: 4.781 kB / 0.8142 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.005067, allocations: 0 / 0.8142 GB, free: 13.71 MB / 0.7292 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.369e-05/0.00513, allocations: 157.1 kB / 0.8143 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-06/0.005135, allocations: 1.375 kB / 0.8143 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.00521, allocations: 40.62 kB / 0.8144 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.005212, allocations: 0 / 0.8144 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.005215, allocations: 1.281 kB / 0.8144 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.005218, allocations: 0 / 0.8144 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.207e-05/0.00528, allocations: 116.6 kB / 0.8145 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-07/0.005281, allocations: 0 / 0.8145 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-06/0.005289, allocations: 4.641 kB / 0.8145 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.005291, allocations: 0.7188 kB / 0.8145 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.005299, allocations: 4 kB / 0.8145 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005299, allocations: 0.9062 kB / 0.8145 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.005301, allocations: 3.984 kB / 0.8145 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.666e-05/0.005358, allocations: 69.17 kB / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-06/0.005362, allocations: 4 kB / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.005372, allocations: 5.328 kB / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-06/0.005375, allocations: 0 / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.005389, allocations: 0 / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.005391, allocations: 0 / 0.8146 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.829e-05/0.005419, allocations: 119.7 kB / 0.8147 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005419, allocations: 4.688 kB / 0.8147 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001388/0.005558, allocations: 11.94 kB / 0.8147 GB, free: 13.11 MB / 0.7292 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.0001691/0.005727, allocations: 133.7 kB / 0.8148 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.42e-05/0.005801, allocations: 15.16 kB / 0.8149 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.005803, allocations: 0 / 0.8149 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.005811, allocations: 11.62 kB / 0.8149 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.578e-05/0.005907, allocations: 4 kB / 0.8149 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.006091, allocations: 84.08 kB / 0.815 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.845e-05/0.00612, allocations: 55.34 kB / 0.815 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.016e-05/0.00613, allocations: 7.938 kB / 0.815 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.006145, allocations: 8.5 kB / 0.815 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.006146, allocations: 0.5312 kB / 0.815 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.002249/0.008394, allocations: 435.2 kB / 0.8154 GB, free: 12.32 MB / 0.7292 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: 5.100884436164051]