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.00141/0.00141, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001576/0.001576, allocations: 165.5 kB / 24.86 MB, free: 9.289 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.9602/0.9602, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.741/1.741, allocations: 359 MB / 0.6063 GB, free: 10.91 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 1.463e-06/1.463e-06, allocations: 0 / 0.7883 GB, free: 11.07 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.05e-05, allocations: 6.25 kB / 0.7884 GB, free: 11.06 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.00118/0.001201, allocations: 0.6084 MB / 0.7889 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003274/0.001528, allocations: 185.7 kB / 0.7891 GB, free: 10.3 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.001544, allocations: 4 kB / 0.7891 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.001557, allocations: 0 / 0.7891 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.65e-06/0.001562, allocations: 0 / 0.7891 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.001872, allocations: 52.73 kB / 0.7892 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.448e-05/0.001906, allocations: 4 kB / 0.7892 GB, free: 10.24 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.00194, allocations: 4 kB / 0.7892 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.034e-05/0.001961, allocations: 4.734 kB / 0.7892 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 1.8e-05/0.001979, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.001986, allocations: 2.469 kB / 0.7892 GB, free: 10.23 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.002118, allocations: 59.88 kB / 0.7892 GB, free: 10.17 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.002129, allocations: 3.938 kB / 0.7893 GB, free: 10.17 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.345e-06/0.002137, allocations: 0 / 0.7893 GB, free: 10.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.265e-05/0.00223, allocations: 47.86 kB / 0.7893 GB, free: 10.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002232, allocations: 0 / 0.7893 GB, free: 10.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.32e-07/0.002232, allocations: 1.75 kB / 0.7893 GB, free: 10.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.002235, allocations: 0 / 0.7893 GB, free: 10.12 MB / 0.698 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.0001993/0.002435, allocations: 340.3 kB / 0.7896 GB, free: 9.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.002469, allocations: 12.03 kB / 0.7896 GB, free: 9.738 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.021e-05/0.002489, allocations: 0.9375 kB / 0.7896 GB, free: 9.738 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.152e-05/0.002541, allocations: 113.8 kB / 0.7897 GB, free: 9.602 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.002549, allocations: 384 / 0.7897 GB, free: 9.602 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.002555, allocations: 8.875 kB / 0.7898 GB, free: 9.594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.938e-05/0.002604, allocations: 27.36 kB / 0.7898 GB, free: 9.562 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.18e-06/0.00261, allocations: 192 / 0.7898 GB, free: 9.562 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-06/0.002614, allocations: 384 / 0.7898 GB, free: 9.562 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.002618, allocations: 1.531 kB / 0.7898 GB, free: 9.562 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.137e-05/0.002629, allocations: 7.938 kB / 0.7898 GB, free: 9.555 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.12e-05/0.0027, allocations: 93.25 kB / 0.7899 GB, free: 9.438 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.664e-05/0.002737, allocations: 28.47 kB / 0.7899 GB, free: 9.398 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.206e-05/0.002749, allocations: 11.62 kB / 0.7899 GB, free: 9.383 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.003063, allocations: 81.73 kB / 0.79 GB, free: 9.305 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.00308, allocations: 34.8 kB / 0.79 GB, free: 9.262 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.003081, allocations: 0 / 0.79 GB, free: 9.262 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 8.079e-05/0.003162, allocations: 29.7 kB / 0.7901 GB, free: 9.227 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.003185, allocations: 55.94 kB / 0.7901 GB, free: 9.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.347e-05/0.003218, allocations: 148.2 kB / 0.7903 GB, free: 9.004 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.003226, allocations: 25.7 kB / 0.7903 GB, free: 8.973 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.003252, allocations: 126.9 kB / 0.7904 GB, free: 8.844 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.003274, allocations: 3.938 kB / 0.7904 GB, free: 8.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.003294, allocations: 15.38 kB / 0.7904 GB, free: 8.816 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.003401, allocations: 0.4986 MB / 0.7909 GB, free: 8.309 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.533e-06/0.003408, allocations: 3.938 kB / 0.7909 GB, free: 8.305 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.737e-06/0.003411, allocations: 0 / 0.7909 GB, free: 8.305 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.003434, allocations: 11.69 kB / 0.7909 GB, free: 8.289 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.003436, allocations: 0 / 0.7909 GB, free: 8.289 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.748e-05/0.003473, allocations: 30.23 kB / 0.7909 GB, free: 8.254 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.003484, allocations: 4 kB / 0.7909 GB, free: 8.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.003487, allocations: 0.7188 kB / 0.7909 GB, free: 8.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/0.003494, allocations: 8 kB / 0.791 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.67e-05/0.003521, allocations: 4.516 kB / 0.791 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.003523, allocations: 1.656 kB / 0.791 GB, free: 8.238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-06/0.003529, allocations: 3.938 kB / 0.791 GB, free: 8.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-06/0.003532, allocations: 0 / 0.791 GB, free: 8.234 MB / 0.698 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 0.0002167/0.003749, allocations: 164.5 kB / 0.7911 GB, free: 8.062 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-06/0.003753, allocations: 0.5 kB / 0.7911 GB, free: 8.062 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.0038, allocations: 33.3 kB / 0.7912 GB, free: 8.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.003801, allocations: 0.7812 kB / 0.7912 GB, free: 8.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.003805, allocations: 3.984 kB / 0.7912 GB, free: 8.016 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.003807, allocations: 0.9062 kB / 0.7912 GB, free: 8.016 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.96e-05/0.003856, allocations: 97.2 kB / 0.7913 GB, free: 7.895 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.003857, allocations: 0 / 0.7913 GB, free: 7.895 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-06/0.003865, allocations: 0.7812 kB / 0.7913 GB, free: 7.895 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.003866, allocations: 0 / 0.7913 GB, free: 7.895 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-06/0.003869, allocations: 1.219 kB / 0.7913 GB, free: 7.895 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.003869, allocations: 4 kB / 0.7913 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.00387, allocations: 0 / 0.7913 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.503e-05/0.003915, allocations: 81.14 kB / 0.7913 GB, free: 7.789 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.003921, allocations: 8 kB / 0.7913 GB, free: 7.781 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-06/0.003926, allocations: 1.344 kB / 0.7913 GB, free: 7.781 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.436e-06/0.003929, allocations: 0 / 0.7913 GB, free: 7.781 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.326e-06/0.003938, allocations: 0 / 0.7913 GB, free: 7.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.003939, allocations: 0 / 0.7913 GB, free: 7.781 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.003965, allocations: 120.4 kB / 0.7915 GB, free: 7.664 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.003965, allocations: 0 / 0.7915 GB, free: 7.664 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001305/0.004095, allocations: 12 kB / 0.7915 GB, free: 7.652 MB / 0.698 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.0001266/0.004222, allocations: 127.5 kB / 0.7916 GB, free: 7.523 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.329e-05/0.004265, allocations: 11.69 kB / 0.7916 GB, free: 7.508 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.004266, allocations: 3.938 kB / 0.7916 GB, free: 7.504 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-06/0.004271, allocations: 7.688 kB / 0.7916 GB, free: 7.492 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.78e-05/0.004359, allocations: 10.58 kB / 0.7916 GB, free: 7.484 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001218/0.004481, allocations: 88.53 kB / 0.7917 GB, free: 7.367 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.251e-05/0.004503, allocations: 53.23 kB / 0.7918 GB, free: 7.297 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.675e-06/0.004511, allocations: 0 / 0.7918 GB, free: 7.297 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.004537, allocations: 70.2 kB / 0.7918 GB, free: 7.227 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.004537, allocations: 0 / 0.7918 GB, free: 7.227 MB / 0.698 GB Notification: Performance of Templates: time 0.001731/0.006268, allocations: 494.7 kB / 0.7923 GB, free: 6.758 MB / 0.698 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.759913864079863]