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.00104/0.00104, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001046/0.001046, allocations: 169 kB / 24.27 MB, free: 284 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 1.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.783/1.783, allocations: 359 MB / 0.6055 GB, free: 11.01 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.773e-06/1.773e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.556e-05, allocations: 9.781 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002671/0.002696, allocations: 1.486 MB / 0.7885 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005544/0.00325, allocations: 237.5 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.003292, allocations: 0.6562 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.003325, allocations: 3.938 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.003372, allocations: 4.641 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.003791, allocations: 52.64 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.547e-05/0.003867, allocations: 23.92 kB / 0.7889 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.003964, allocations: 1.031 kB / 0.7889 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.309e-05/0.004027, allocations: 19.91 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.004065, allocations: 8 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.004081, allocations: 6.844 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.00423, allocations: 59.88 kB / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.004246, allocations: 0 / 0.7889 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.004268, allocations: 7.938 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.004431, allocations: 55.84 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.004433, allocations: 4 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004434, allocations: 0 / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.004439, allocations: 0 / 0.789 GB, free: 10.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004149/0.004854, allocations: 365.9 kB / 0.7894 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.004898, allocations: 12.03 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.00494, allocations: 4.891 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.00505, allocations: 109.2 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.005063, allocations: 1.312 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.005076, allocations: 8.312 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.00522, allocations: 50.95 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.005228, allocations: 0.9062 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.005237, allocations: 1.906 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.005246, allocations: 384 / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.005284, allocations: 15.92 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.005612, allocations: 255.8 kB / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.005674, allocations: 32.22 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.005705, allocations: 19.73 kB / 0.7899 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004037/0.006109, allocations: 70.89 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.006136, allocations: 33.39 kB / 0.79 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.006138, allocations: 0 / 0.79 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.006315, allocations: 45.59 kB / 0.79 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.00635, allocations: 51.94 kB / 0.79 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.303e-05/0.006443, allocations: 170.6 kB / 0.7902 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.006454, allocations: 25.7 kB / 0.7902 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.006503, allocations: 127.4 kB / 0.7904 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.006522, allocations: 5.578 kB / 0.7904 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.006558, allocations: 27.36 kB / 0.7904 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.006693, allocations: 492.1 kB / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.00671, allocations: 4 kB / 0.7909 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.006723, allocations: 0.625 kB / 0.7909 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.006757, allocations: 16.38 kB / 0.7909 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006759, allocations: 0 / 0.7909 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.099e-05/0.00683, allocations: 38.38 kB / 0.7909 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.006849, allocations: 8.906 kB / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.006856, allocations: 7.875 kB / 0.7909 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.00687, allocations: 0 / 0.7909 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.00694, allocations: 5.375 kB / 0.7909 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.006945, allocations: 0 / 0.7909 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.683e-05/0.006972, allocations: 8.172 kB / 0.7909 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.006977, allocations: 1.812 kB / 0.7909 GB, free: 8.668 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 (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 7.411e-05/0.007052, allocations: 160.5 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.007078, allocations: 7.984 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.567e-05/0.007174, allocations: 48.94 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.007176, allocations: 0.5 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.00718, allocations: 0.8438 kB / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007183, allocations: 0 / 0.7911 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.007314, allocations: 113.5 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.007315, allocations: 0 / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.007351, allocations: 4 kB / 0.7913 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007354, allocations: 5.656 kB / 0.7913 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.00736, allocations: 3.938 kB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.007364, allocations: 7.938 kB / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.007366, allocations: 0 / 0.7913 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.007482, allocations: 188.7 kB / 0.7915 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.007489, allocations: 4 kB / 0.7915 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.007501, allocations: 2.25 kB / 0.7915 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.563e-05/0.007557, allocations: 7.938 kB / 0.7915 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.007597, allocations: 11.98 kB / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.0076, allocations: 0 / 0.7915 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.007645, allocations: 123.2 kB / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.007645, allocations: 0 / 0.7916 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002788/0.007924, allocations: 14.09 kB / 0.7916 GB, free: 7.914 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 (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.0001868/0.008111, allocations: 115.7 kB / 0.7917 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.294e-05/0.008204, allocations: 26.06 kB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008205, allocations: 0 / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.008228, allocations: 15.67 kB / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.008493, allocations: 0 / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.008781, allocations: 119.4 kB / 0.7919 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.008823, allocations: 55.36 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.008842, allocations: 0.5 kB / 0.7919 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.008867, allocations: 9.156 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/0.008868, allocations: 0.8438 kB / 0.7919 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.002545/0.01141, allocations: 0.6982 MB / 0.7926 GB, free: 6.844 MB / 0.7448 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: 5.023043417138979]