Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.0009976/0.0009976, allocations: 67.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.001165/0.001165, allocations: 169 kB / 24.28 MB, free: 276 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.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.848/1.848, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.537e-05, allocations: 3.375 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002341/0.002367, allocations: 1.487 MB / 0.813 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004652/0.002832, allocations: 245.5 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.002867, allocations: 4 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.002898, allocations: 7.922 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.071e-05/0.002939, allocations: 0.875 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.003308, allocations: 67.69 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.992e-05/0.003378, allocations: 24.7 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.00346, allocations: 0 / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.088e-05/0.003511, allocations: 13.67 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.655e-05/0.003548, allocations: 7.984 kB / 0.8133 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.003561, allocations: 4 kB / 0.8133 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.003685, allocations: 63.81 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.0037, allocations: 5.531 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.003719, allocations: 3.984 kB / 0.8134 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.003863, allocations: 59.86 kB / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003865, allocations: 0 / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003866, allocations: 0.875 kB / 0.8135 GB, free: 96 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.00387, allocations: 0 / 0.8135 GB, free: 96 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003897/0.00426, allocations: 366 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.004296, allocations: 15.97 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.004335, allocations: 0.9375 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.783e-05/0.004423, allocations: 112.6 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004433, allocations: 2.125 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.004443, allocations: 4.312 kB / 0.814 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.004564, allocations: 58.94 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.00457, allocations: 192 / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.004581, allocations: 5.438 kB / 0.814 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.004588, allocations: 384 / 0.814 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.89e-05/0.004617, allocations: 3.938 kB / 0.814 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.004891, allocations: 248.4 kB / 0.8143 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.69e-05/0.004948, allocations: 43.83 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.004969, allocations: 7.688 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/0.005344, allocations: 79.58 kB / 0.8144 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.005368, allocations: 37.38 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.00537, allocations: 0 / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000157/0.005527, allocations: 45.59 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.005556, allocations: 51.94 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.005638, allocations: 170.6 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.005649, allocations: 25.7 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.005699, allocations: 127.4 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.005716, allocations: 7.891 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.00575, allocations: 25 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.005865, allocations: 492.1 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.005883, allocations: 7.984 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.005895, allocations: 0.625 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.005926, allocations: 12.38 kB / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005928, allocations: 0 / 0.8153 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002791/0.006207, allocations: 38.39 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.006221, allocations: 8.812 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.006226, allocations: 7.875 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.006238, allocations: 0 / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.0063, allocations: 8.922 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.006305, allocations: 0 / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.159e-05/0.006327, allocations: 5.219 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.006332, allocations: 4 kB / 0.8154 GB, free: 13.92 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 (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 6.097e-05/0.006393, allocations: 157.4 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.006417, allocations: 8 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.006501, allocations: 43.16 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.006503, allocations: 4 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.006507, allocations: 0 / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.00651, allocations: 3.984 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.00662, allocations: 112.6 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.006621, allocations: 0 / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.006652, allocations: 11.08 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006653, allocations: 3.938 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.006659, allocations: 0 / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.006661, allocations: 3.938 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.006662, allocations: 4 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.006763, allocations: 183.9 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.006769, allocations: 3.984 kB / 0.8159 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.006779, allocations: 4 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.785e-05/0.006827, allocations: 5.219 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.006862, allocations: 4 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.006865, allocations: 0 / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.006901, allocations: 131.8 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006901, allocations: 0 / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000231/0.007132, allocations: 16.59 kB / 0.8161 GB, free: 13.17 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 (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.0001766/0.007309, allocations: 114.1 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.938e-05/0.007388, allocations: 19.62 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.00739, allocations: 0 / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.998e-05/0.00741, allocations: 16.78 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.007634, allocations: 4.656 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.007893, allocations: 111.2 kB / 0.8163 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.045e-05/0.007934, allocations: 63.2 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.64e-05/0.00795, allocations: 1.156 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.007973, allocations: 8.5 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of SimCode: time 7.22e-07/0.007974, allocations: 1.031 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of Templates: time 0.002672/0.01065, allocations: 0.7027 MB / 0.8171 GB, free: 12.09 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_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: 5.1518478048965335]