Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009876/0.0009876, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009483/0.0009483, allocations: 181 kB / 24.09 MB, free: 420 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.9019/0.9019, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.837/1.837, allocations: 377.9 MB / 0.624 GB, free: 8.438 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.8121 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.134e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0009487/0.00096, allocations: 0.596 MB / 0.8126 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003095/0.00127, allocations: 185.8 kB / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-06/0.001277, allocations: 1 kB / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 6.973e-06/0.001284, allocations: 0 / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.855e-06/0.001287, allocations: 1.438 kB / 0.8128 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000194/0.001481, allocations: 59.75 kB / 0.8129 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 2.762e-05/0.001508, allocations: 0 / 0.8129 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.665e-05/0.001535, allocations: 0 / 0.8129 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.001557, allocations: 1.781 kB / 0.8129 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.474e-05/0.001572, allocations: 7.984 kB / 0.8129 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.246e-06/0.00158, allocations: 0 / 0.8129 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.001693, allocations: 47.95 kB / 0.8129 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.001706, allocations: 11.92 kB / 0.813 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 7.835e-06/0.001714, allocations: 1.344 kB / 0.813 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.43e-05/0.001798, allocations: 39.88 kB / 0.813 GB, free: 500 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.001799, allocations: 0 / 0.813 GB, free: 500 kB / 0.7605 GB Notification: Performance of FrontEnd: time 3.9e-07/0.0018, allocations: 0 / 0.813 GB, free: 500 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.001803, allocations: 1.594 kB / 0.813 GB, free: 500 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.0001976/0.002, allocations: 356.3 kB / 0.8133 GB, free: 104 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.002029, allocations: 8.031 kB / 0.8133 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.859e-05/0.002048, allocations: 4.938 kB / 0.8133 GB, free: 92 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.526e-05/0.002103, allocations: 105.3 kB / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-06/0.002109, allocations: 384 / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-06/0.002115, allocations: 4.906 kB / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.981e-05/0.002164, allocations: 31.92 kB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.00217, allocations: 4.172 kB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-06/0.002176, allocations: 4.359 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-06/0.002179, allocations: 384 / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.05e-05/0.002189, allocations: 8.531 kB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.9e-05/0.002258, allocations: 93.27 kB / 0.8136 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 2.883e-05/0.002287, allocations: 24.38 kB / 0.8136 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.195e-05/0.002299, allocations: 11.69 kB / 0.8136 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.002597, allocations: 74.55 kB / 0.8137 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.002616, allocations: 37.39 kB / 0.8137 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.002617, allocations: 0 / 0.8137 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 7.847e-05/0.002695, allocations: 39.31 kB / 0.8138 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.002716, allocations: 51.41 kB / 0.8138 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.54e-05/0.002751, allocations: 142.2 kB / 0.8139 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.002759, allocations: 27.39 kB / 0.814 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.002788, allocations: 130.9 kB / 0.8141 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.002815, allocations: 0 / 0.8141 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.002834, allocations: 15.38 kB / 0.8141 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.002946, allocations: 496.1 kB / 0.8146 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.002953, allocations: 8.781 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-06/0.002957, allocations: 0 / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.029e-05/0.002978, allocations: 13.91 kB / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.002979, allocations: 0 / 0.8146 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.955e-05/0.003019, allocations: 41.62 kB / 0.8146 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.00303, allocations: 4 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.003033, allocations: 2.125 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/0.00304, allocations: 0 / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.678e-05/0.003067, allocations: 4 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.003069, allocations: 0 / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-06/0.003076, allocations: 352 / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-06/0.003079, allocations: 0 / 0.8147 GB, free: 14.6 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 5.658e-05/0.003135, allocations: 165 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-06/0.003139, allocations: 0.5312 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.003185, allocations: 46.48 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.003186, allocations: 0 / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.003187, allocations: 0 / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.00319, allocations: 0 / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.795e-05/0.003238, allocations: 93.2 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.003239, allocations: 6.312 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.633e-06/0.003246, allocations: 3.984 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.003247, allocations: 0 / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-06/0.00325, allocations: 0 / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.003251, allocations: 4 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.003252, allocations: 0 / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.532e-05/0.003297, allocations: 73.55 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.003301, allocations: 0 / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.845e-06/0.003309, allocations: 7.984 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.977e-06/0.003313, allocations: 0.5312 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-06/0.003321, allocations: 3.938 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.003322, allocations: 0.875 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.826e-05/0.00335, allocations: 119.2 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00335, allocations: 0.8438 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001212/0.003472, allocations: 15.94 kB / 0.8152 GB, free: 14.02 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.0001286/0.0036, allocations: 114.7 kB / 0.8153 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.029e-05/0.00364, allocations: 15.62 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.003642, allocations: 0 / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.845e-06/0.003649, allocations: 13.81 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.155e-05/0.003731, allocations: 7.938 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001242/0.003855, allocations: 84.03 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.504e-05/0.00388, allocations: 55.36 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.203e-06/0.003887, allocations: 0 / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.003914, allocations: 71.17 kB / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.003914, allocations: 0 / 0.8155 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of Templates: time 0.001756/0.00567, allocations: 498.7 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.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.716543622780591]