Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001046/0.001046, allocations: 69.89 kB / 20.65 MB, free: 3.848 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.00102/0.00102, allocations: 173 kB / 24.06 MB, free: 452 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.9831/0.9831, allocations: 177.1 MB / 204.5 MB, free: 4.828 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.1/2.1, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.484e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001227/0.001252, allocations: 0.6133 MB / 0.88 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003349/0.001587, allocations: 180.8 kB / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.52e-05/0.001602, allocations: 0 / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.001616, allocations: 1.125 kB / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-06/0.001623, allocations: 0.6562 kB / 0.8802 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.001936, allocations: 40.39 kB / 0.8802 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.152e-05/0.001978, allocations: 14.48 kB / 0.8803 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.002018, allocations: 0 / 0.8803 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.256e-05/0.002041, allocations: 3.984 kB / 0.8803 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.125e-05/0.002062, allocations: 7.312 kB / 0.8803 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.00207, allocations: 0 / 0.8803 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.002217, allocations: 52.61 kB / 0.8803 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.002228, allocations: 1.094 kB / 0.8803 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.659e-06/0.002238, allocations: 0 / 0.8803 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.7e-05/0.002335, allocations: 43.86 kB / 0.8804 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002337, allocations: 4 kB / 0.8804 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.82e-07/0.002338, allocations: 0 / 0.8804 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.327e-06/0.002341, allocations: 336 / 0.8804 GB, free: 5.055 MB / 0.8386 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.0002214/0.002562, allocations: 344.3 kB / 0.8807 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.002592, allocations: 16.56 kB / 0.8807 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.002614, allocations: 2.469 kB / 0.8807 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.575e-05/0.002669, allocations: 104.6 kB / 0.8808 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.002678, allocations: 384 / 0.8808 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-06/0.002685, allocations: 8.375 kB / 0.8808 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.641e-05/0.002741, allocations: 27.77 kB / 0.8809 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.002747, allocations: 192 / 0.8809 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-06/0.002752, allocations: 384 / 0.8809 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.002756, allocations: 384 / 0.8809 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.333e-05/0.00277, allocations: 13.42 kB / 0.8809 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.11e-05/0.002841, allocations: 89.27 kB / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.125e-05/0.002872, allocations: 27.09 kB / 0.881 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.236e-05/0.002885, allocations: 15.69 kB / 0.881 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/0.003195, allocations: 71.92 kB / 0.8811 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.003214, allocations: 33.39 kB / 0.8811 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.003215, allocations: 0 / 0.8811 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.042e-05/0.003305, allocations: 33.64 kB / 0.8811 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.00333, allocations: 55.41 kB / 0.8812 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.456e-05/0.003365, allocations: 150.4 kB / 0.8813 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.003374, allocations: 25.7 kB / 0.8813 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.003399, allocations: 126.9 kB / 0.8815 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.003426, allocations: 8.297 kB / 0.8815 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.00345, allocations: 23.36 kB / 0.8815 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.003554, allocations: 496.1 kB / 0.882 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-06/0.00356, allocations: 0 / 0.882 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-06/0.003565, allocations: 0 / 0.882 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.38e-05/0.003589, allocations: 11.69 kB / 0.882 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.003591, allocations: 0 / 0.882 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.875e-05/0.003629, allocations: 37.7 kB / 0.882 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.003641, allocations: 8 kB / 0.882 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.003645, allocations: 0 / 0.882 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.003655, allocations: 3.984 kB / 0.882 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.669e-05/0.003681, allocations: 4 kB / 0.882 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.003684, allocations: 0 / 0.882 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-06/0.003692, allocations: 3.938 kB / 0.882 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-06/0.003696, allocations: 4 kB / 0.882 GB, free: 3.156 MB / 0.8386 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.709e-05/0.003753, allocations: 160.5 kB / 0.8822 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-06/0.003756, allocations: 0 / 0.8822 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.003809, allocations: 44.72 kB / 0.8822 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.00381, allocations: 0 / 0.8822 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.003811, allocations: 0 / 0.8822 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.003815, allocations: 4 kB / 0.8822 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.726e-05/0.003872, allocations: 93.2 kB / 0.8823 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.003873, allocations: 0 / 0.8823 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.003881, allocations: 3.938 kB / 0.8823 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.003882, allocations: 0 / 0.8823 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-06/0.003885, allocations: 4 kB / 0.8823 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.003886, allocations: 0 / 0.8823 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.003886, allocations: 4.031 kB / 0.8823 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.682e-05/0.003933, allocations: 72.38 kB / 0.8824 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-06/0.003937, allocations: 0 / 0.8824 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-06/0.003942, allocations: 0 / 0.8824 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-06/0.003946, allocations: 4 kB / 0.8824 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.003955, allocations: 3.984 kB / 0.8824 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.003956, allocations: 0 / 0.8824 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.646e-05/0.003982, allocations: 123.2 kB / 0.8825 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.003982, allocations: 0 / 0.8825 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001332/0.004116, allocations: 8 kB / 0.8825 GB, free: 2.574 MB / 0.8386 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.0001415/0.004257, allocations: 127.2 kB / 0.8827 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.161e-05/0.004319, allocations: 11.62 kB / 0.8827 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.004322, allocations: 4 kB / 0.8827 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.184e-06/0.004329, allocations: 11.67 kB / 0.8827 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.007e-05/0.004419, allocations: 3.938 kB / 0.8827 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001355/0.004554, allocations: 88.08 kB / 0.8828 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.644e-05/0.004581, allocations: 51.36 kB / 0.8828 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.905e-06/0.004589, allocations: 0 / 0.8828 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.004616, allocations: 74.2 kB / 0.8829 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of SimCode: time 6.31e-07/0.004617, allocations: 0 / 0.8829 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of Templates: time 0.001839/0.006456, allocations: 488.3 kB / 0.8834 GB, free: 1.664 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.146402837242931]