Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001028/0.001028, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001091/0.001091, allocations: 165 kB / 23.82 MB, free: 0.75 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.9778/0.9778, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.906/1.906, allocations: 377.8 MB / 0.6236 GB, free: 8.586 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.75e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002371/0.002399, allocations: 1.48 MB / 0.813 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.00285, allocations: 241.2 kB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.002876, allocations: 4 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.002903, allocations: 1.062 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.002945, allocations: 7.922 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.003286, allocations: 52.52 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.003345, allocations: 27.8 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.815e-05/0.003413, allocations: 4.906 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.463e-05/0.003458, allocations: 15.97 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.266e-05/0.003491, allocations: 12.64 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.003501, allocations: 0 / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.003621, allocations: 53.2 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.003635, allocations: 7.922 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.804e-05/0.003654, allocations: 8 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.003795, allocations: 55.8 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003797, allocations: 0.9688 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.222e-06/0.003798, allocations: 0 / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.003802, allocations: 0.75 kB / 0.8135 GB, free: 15.78 MB / 0.7761 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.0003315/0.004133, allocations: 368.6 kB / 0.8138 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.004168, allocations: 8.906 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.004199, allocations: 8.891 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.78e-05/0.004277, allocations: 109.9 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004288, allocations: 4.375 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.004298, allocations: 4.359 kB / 0.814 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.00441, allocations: 60.81 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.004418, allocations: 192 / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.004425, allocations: 384 / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.004431, allocations: 4.312 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.004461, allocations: 11.88 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/0.004726, allocations: 252.9 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.076e-05/0.004777, allocations: 31.06 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.004798, allocations: 8.781 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/0.005118, allocations: 74.7 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.005142, allocations: 37.39 kB / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.005143, allocations: 0 / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001377/0.00528, allocations: 49.52 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.005304, allocations: 52.94 kB / 0.8145 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.005374, allocations: 157.9 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.005384, allocations: 25.7 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.00543, allocations: 134.9 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.005446, allocations: 8.484 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.005477, allocations: 15.38 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.005602, allocations: 497.6 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.435e-05/0.005616, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.102e-05/0.005627, allocations: 4 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.303e-05/0.00566, allocations: 24.14 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005662, allocations: 0.8125 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.38e-05/0.005726, allocations: 33.7 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.005737, allocations: 5.781 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.005742, allocations: 3.938 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.005754, allocations: 0 / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.005815, allocations: 11.98 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.005819, allocations: 0.625 kB / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.005838, allocations: 0 / 0.8154 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.005844, allocations: 8.688 kB / 0.8154 GB, free: 13.61 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.302e-05/0.005907, allocations: 153.1 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.005928, allocations: 1.156 kB / 0.8155 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.326e-05/0.006011, allocations: 52.88 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006013, allocations: 0 / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.006016, allocations: 0.5312 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.006018, allocations: 1.25 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.006131, allocations: 112.6 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.006133, allocations: 8 kB / 0.8157 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.006157, allocations: 7.938 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006159, allocations: 0.8125 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.006166, allocations: 4 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.006168, allocations: 8.859 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006169, allocations: 0 / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.817e-05/0.006268, allocations: 189.2 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.006272, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.006281, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.932e-05/0.006331, allocations: 16.95 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.006359, allocations: 0 / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.006363, allocations: 5.984 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.582e-05/0.006399, allocations: 127.2 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006399, allocations: 0 / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002353/0.006635, allocations: 19.94 kB / 0.8161 GB, free: 12.85 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.0001533/0.006788, allocations: 115.3 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.732e-05/0.006865, allocations: 19.67 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.006869, allocations: 4 kB / 0.8162 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-05/0.006886, allocations: 11.62 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.007105, allocations: 7.938 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.007343, allocations: 115 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.007377, allocations: 55.88 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.683e-05/0.007394, allocations: 5.297 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.007416, allocations: 12.5 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.007416, allocations: 0 / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of Templates: time 0.002465/0.009881, allocations: 0.6811 MB / 0.8171 GB, free: 11.79 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.278237667866051]