Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001279/0.001279, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001447/0.001447, allocations: 181 kB / 24.08 MB, free: 424 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.9123/0.9123, allocations: 177.1 MB / 204.5 MB, free: 5.469 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.756/1.756, allocations: 359 MB / 0.6055 GB, free: 10.84 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7876 GB, free: 11.07 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.481e-05, allocations: 6.844 kB / 0.7876 GB, free: 11.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002228/0.002253, allocations: 1.495 MB / 0.789 GB, free: 9.578 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004043/0.002657, allocations: 236.7 kB / 0.7892 GB, free: 9.348 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.002685, allocations: 0.8438 kB / 0.7892 GB, free: 9.348 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.002709, allocations: 3.984 kB / 0.7892 GB, free: 9.344 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.016e-05/0.002749, allocations: 8.438 kB / 0.7893 GB, free: 9.336 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.003062, allocations: 49.05 kB / 0.7893 GB, free: 9.289 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.003115, allocations: 23.92 kB / 0.7893 GB, free: 9.266 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.384e-05/0.003189, allocations: 7.984 kB / 0.7893 GB, free: 9.258 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.003235, allocations: 16.48 kB / 0.7893 GB, free: 9.242 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.924e-05/0.003264, allocations: 4.938 kB / 0.7894 GB, free: 9.238 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.003275, allocations: 4 kB / 0.7894 GB, free: 9.234 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.003392, allocations: 59.88 kB / 0.7894 GB, free: 9.176 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.003404, allocations: 1.188 kB / 0.7894 GB, free: 9.176 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.003419, allocations: 11.98 kB / 0.7894 GB, free: 9.164 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.003534, allocations: 55.8 kB / 0.7895 GB, free: 9.109 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.003536, allocations: 4.594 kB / 0.7895 GB, free: 9.105 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003537, allocations: 1.5 kB / 0.7895 GB, free: 9.105 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.115e-06/0.00354, allocations: 0 / 0.7895 GB, free: 9.105 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002831/0.003823, allocations: 364.2 kB / 0.7898 GB, free: 8.711 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.003856, allocations: 12.03 kB / 0.7898 GB, free: 8.699 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.003879, allocations: 8.172 kB / 0.7899 GB, free: 8.695 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.477e-05/0.003944, allocations: 112.6 kB / 0.79 GB, free: 8.559 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-06/0.003952, allocations: 384 / 0.79 GB, free: 8.559 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.003959, allocations: 4.375 kB / 0.79 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.004059, allocations: 54.95 kB / 0.79 GB, free: 8.492 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.004065, allocations: 192 / 0.79 GB, free: 8.492 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-06/0.00407, allocations: 384 / 0.79 GB, free: 8.492 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.004075, allocations: 4.375 kB / 0.79 GB, free: 8.488 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.004096, allocations: 7.875 kB / 0.79 GB, free: 8.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.004311, allocations: 233.4 kB / 0.7903 GB, free: 8.227 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/0.00435, allocations: 27.66 kB / 0.7903 GB, free: 8.188 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.269e-05/0.004363, allocations: 11.75 kB / 0.7903 GB, free: 8.172 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.004623, allocations: 74.28 kB / 0.7904 GB, free: 8.102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.004642, allocations: 33.39 kB / 0.7904 GB, free: 8.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.004643, allocations: 0.75 kB / 0.7904 GB, free: 8.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001051/0.004748, allocations: 50.19 kB / 0.7904 GB, free: 8.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.004772, allocations: 55.41 kB / 0.7905 GB, free: 7.938 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.978e-05/0.004831, allocations: 155.2 kB / 0.7906 GB, free: 7.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.004841, allocations: 25.7 kB / 0.7907 GB, free: 7.738 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.004879, allocations: 138.8 kB / 0.7908 GB, free: 7.598 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.004893, allocations: 5.453 kB / 0.7908 GB, free: 7.594 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.004924, allocations: 19.38 kB / 0.7908 GB, free: 7.566 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.00503, allocations: 492.1 kB / 0.7913 GB, free: 7.074 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.135e-05/0.005041, allocations: 4 kB / 0.7913 GB, free: 7.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-06/0.005049, allocations: 1.531 kB / 0.7913 GB, free: 7.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.005075, allocations: 19.62 kB / 0.7913 GB, free: 7.047 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.005078, allocations: 4 kB / 0.7913 GB, free: 7.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.923e-05/0.005127, allocations: 38.25 kB / 0.7914 GB, free: 7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.00514, allocations: 13.44 kB / 0.7914 GB, free: 6.988 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.005144, allocations: 0 / 0.7914 GB, free: 6.988 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.005154, allocations: 3.938 kB / 0.7914 GB, free: 6.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.585e-05/0.0052, allocations: 4 kB / 0.7914 GB, free: 6.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.005204, allocations: 4.547 kB / 0.7914 GB, free: 6.977 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.621e-05/0.00522, allocations: 10.02 kB / 0.7914 GB, free: 6.969 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.005223, allocations: 0 / 0.7914 GB, free: 6.969 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 (2): * Single equations (assignments): 2 * 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.753e-05/0.005281, allocations: 156.5 kB / 0.7915 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.005296, allocations: 8 kB / 0.7915 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.00536, allocations: 41.47 kB / 0.7916 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.005364, allocations: 3.938 kB / 0.7916 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005365, allocations: 4.719 kB / 0.7916 GB, free: 6.742 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.005368, allocations: 0 / 0.7916 GB, free: 6.742 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.63e-05/0.005454, allocations: 106.7 kB / 0.7917 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005455, allocations: 0 / 0.7917 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.005474, allocations: 4 kB / 0.7917 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.005477, allocations: 0.625 kB / 0.7917 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-06/0.00548, allocations: 0 / 0.7917 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.005481, allocations: 0.5 kB / 0.7917 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005482, allocations: 0 / 0.7917 GB, free: 6.609 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.801e-05/0.00557, allocations: 196.8 kB / 0.7919 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.005577, allocations: 4 kB / 0.7919 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-06/0.005583, allocations: 0.9062 kB / 0.7919 GB, free: 6.395 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/0.005612, allocations: 4 kB / 0.7919 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.699e-05/0.005639, allocations: 8.828 kB / 0.7919 GB, free: 6.383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.005642, allocations: 3.938 kB / 0.7919 GB, free: 6.379 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.005676, allocations: 125.3 kB / 0.792 GB, free: 6.258 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005677, allocations: 0 / 0.792 GB, free: 6.258 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001538/0.00583, allocations: 16 kB / 0.792 GB, free: 6.242 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 (2): * Single equations (assignments): 2 * 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.0001334/0.005964, allocations: 117.8 kB / 0.7922 GB, free: 6.121 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.156e-05/0.006015, allocations: 15.67 kB / 0.7922 GB, free: 6.102 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.006017, allocations: 0 / 0.7922 GB, free: 6.102 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.575e-05/0.006032, allocations: 19.61 kB / 0.7922 GB, free: 6.078 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.006188, allocations: 9.656 kB / 0.7922 GB, free: 6.07 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001899/0.006378, allocations: 98.48 kB / 0.7923 GB, free: 5.945 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.006407, allocations: 63.73 kB / 0.7924 GB, free: 5.863 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.006422, allocations: 5.156 kB / 0.7924 GB, free: 5.859 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.006462, allocations: 70.2 kB / 0.7924 GB, free: 5.789 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.006462, allocations: 0 / 0.7924 GB, free: 5.789 MB / 0.698 GB Notification: Performance of Templates: time 0.002283/0.008745, allocations: 0.7731 MB / 0.7932 GB, free: 5.031 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_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.751582013908774]