Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0009395/0.0009395, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009825/0.0009825, allocations: 166.2 kB / 24.86 MB, free: 9.207 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.9657/0.9657, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.902/1.902, allocations: 377.9 MB / 0.6247 GB, free: 8.355 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8128 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.302e-05, allocations: 3.906 kB / 0.8128 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001281/0.001304, allocations: 0.5934 MB / 0.8134 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003281/0.001632, allocations: 178.4 kB / 0.8136 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.001645, allocations: 0 / 0.8136 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.001658, allocations: 4 kB / 0.8136 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.17e-06/0.001663, allocations: 0.5 kB / 0.8136 GB, free: 0.5625 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.001929, allocations: 47.83 kB / 0.8136 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 2.933e-05/0.001958, allocations: 5.266 kB / 0.8136 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.013e-05/0.001979, allocations: 0 / 0.8136 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 1.133e-05/0.00199, allocations: 4 kB / 0.8136 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.665e-05/0.002007, allocations: 1.938 kB / 0.8136 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/0.002013, allocations: 3.938 kB / 0.8136 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.002139, allocations: 51.89 kB / 0.8137 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 9.118e-06/0.002148, allocations: 0 / 0.8137 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.095e-05/0.002159, allocations: 7.984 kB / 0.8137 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.455e-05/0.002254, allocations: 41.41 kB / 0.8137 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.002255, allocations: 0 / 0.8137 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002256, allocations: 0 / 0.8137 GB, free: 416 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.00226, allocations: 0 / 0.8137 GB, free: 416 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.0002185/0.002479, allocations: 349.7 kB / 0.8141 GB, free: 28 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.002507, allocations: 11.97 kB / 0.8141 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.002529, allocations: 0.9375 kB / 0.8141 GB, free: 16 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.974e-05/0.002599, allocations: 112.6 kB / 0.8142 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-06/0.002608, allocations: 2.312 kB / 0.8142 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-06/0.002612, allocations: 384 / 0.8142 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.742e-05/0.002669, allocations: 30.25 kB / 0.8142 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.002675, allocations: 4.188 kB / 0.8142 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-06/0.00268, allocations: 384 / 0.8142 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.002685, allocations: 2.5 kB / 0.8142 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.048e-05/0.002695, allocations: 7.922 kB / 0.8142 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.626e-05/0.002771, allocations: 97.25 kB / 0.8143 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 3.361e-05/0.002805, allocations: 31 kB / 0.8144 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.002e-05/0.002815, allocations: 7.688 kB / 0.8144 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.003113, allocations: 67.36 kB / 0.8144 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.003134, allocations: 37.39 kB / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.003135, allocations: 0 / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001669/0.003302, allocations: 37.64 kB / 0.8145 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.003327, allocations: 51.94 kB / 0.8146 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.57e-05/0.003362, allocations: 143.6 kB / 0.8147 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/0.003371, allocations: 25.7 kB / 0.8147 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.003398, allocations: 126.9 kB / 0.8148 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.003423, allocations: 13.08 kB / 0.8149 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.003444, allocations: 15.38 kB / 0.8149 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.003553, allocations: 496.1 kB / 0.8153 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-06/0.003561, allocations: 4 kB / 0.8153 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-06/0.003566, allocations: 1.375 kB / 0.8153 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.203e-05/0.003589, allocations: 7.688 kB / 0.8154 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.003592, allocations: 4.969 kB / 0.8154 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.154e-05/0.003633, allocations: 37.64 kB / 0.8154 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.003645, allocations: 4.719 kB / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.00365, allocations: 3.984 kB / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.003659, allocations: 1.062 kB / 0.8154 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.224e-05/0.003691, allocations: 4 kB / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.003695, allocations: 0 / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-06/0.003704, allocations: 5.125 kB / 0.8154 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.003708, allocations: 0 / 0.8154 GB, free: 14.52 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.672e-05/0.003764, allocations: 158 kB / 0.8156 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-06/0.003769, allocations: 4 kB / 0.8156 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/0.003822, allocations: 40.64 kB / 0.8156 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-06/0.003823, allocations: 1.031 kB / 0.8156 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.003825, allocations: 0 / 0.8156 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.003828, allocations: 0 / 0.8156 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.178e-05/0.003879, allocations: 95.23 kB / 0.8157 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.00388, allocations: 0 / 0.8157 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-06/0.003888, allocations: 7.938 kB / 0.8157 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.003889, allocations: 0 / 0.8157 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-06/0.003892, allocations: 0 / 0.8157 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.003893, allocations: 6.312 kB / 0.8157 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.003894, allocations: 0 / 0.8157 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.195e-05/0.003946, allocations: 80.36 kB / 0.8158 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-06/0.00395, allocations: 0 / 0.8158 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-06/0.003955, allocations: 0 / 0.8158 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-06/0.003959, allocations: 4 kB / 0.8158 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.003967, allocations: 0.5 kB / 0.8158 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.003969, allocations: 0.5312 kB / 0.8158 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.701e-05/0.003996, allocations: 119.2 kB / 0.8159 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.003996, allocations: 1.344 kB / 0.8159 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001405/0.004136, allocations: 19.92 kB / 0.8159 GB, free: 13.94 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.0001435/0.00428, allocations: 113.1 kB / 0.816 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.336e-05/0.004333, allocations: 18.94 kB / 0.8161 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.004334, allocations: 0 / 0.8161 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.004342, allocations: 15.67 kB / 0.8161 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.623e-05/0.004428, allocations: 7.938 kB / 0.8161 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001319/0.00456, allocations: 83.95 kB / 0.8162 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.448e-05/0.004584, allocations: 51.36 kB / 0.8162 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.764e-06/0.004592, allocations: 0 / 0.8162 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.004621, allocations: 68.52 kB / 0.8163 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of SimCode: time 9.42e-07/0.004621, allocations: 0 / 0.8163 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.001824/0.006445, allocations: 486.6 kB / 0.8167 GB, free: 13.06 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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.994557752739638]