Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 108.9 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.129/3.129, allocations: 496.1 MB / 0.7801 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 70.92 kB / 1.133 GB, free: 34.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 173.7 MB / 1.303 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003067/0.3451, allocations: 1.431 MB / 1.304 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000595/0.3457, allocations: 255.6 kB / 1.304 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.3457, allocations: 0 / 1.304 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.3457, allocations: 3.938 kB / 1.304 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4e-05/0.3458, allocations: 0 / 1.304 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.3462, allocations: 51.83 kB / 1.304 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.004e-05/0.3462, allocations: 27.92 kB / 1.304 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.3463, allocations: 7.922 kB / 1.304 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.919e-05/0.3464, allocations: 11.98 kB / 1.304 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.3464, allocations: 7.938 kB / 1.304 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.3464, allocations: 4 kB / 1.304 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.3466, allocations: 63.88 kB / 1.304 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.3466, allocations: 4 kB / 1.304 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.3466, allocations: 11.92 kB / 1.304 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.3468, allocations: 51.86 kB / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3468, allocations: 0 / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3468, allocations: 0 / 1.305 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.3468, allocations: 0 / 1.305 GB, free: 0.707 MB / 0.9981 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.0005038/0.3473, allocations: 347.3 kB / 1.305 GB, free: 324 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3473, allocations: 19.97 kB / 1.305 GB, free: 304 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.3474, allocations: 4.891 kB / 1.305 GB, free: 300 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.3475, allocations: 164.3 kB / 1.305 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3475, allocations: 384 / 1.305 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.3475, allocations: 4.375 kB / 1.305 GB, free: 92 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.3477, allocations: 50.23 kB / 1.305 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3477, allocations: 192 / 1.305 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3477, allocations: 7.922 kB / 1.305 GB, free: 28 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3477, allocations: 3.938 kB / 1.305 GB, free: 24 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.3479, allocations: 43.95 kB / 1.305 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.3483, allocations: 248.9 kB / 1.305 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.3484, allocations: 38.53 kB / 1.305 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.3485, allocations: 20.91 kB / 1.305 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007088/0.3492, allocations: 461.5 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3492, allocations: 30.56 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3492, allocations: 0 / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003688/0.3496, allocations: 85.58 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3496, allocations: 51.41 kB / 1.306 GB, free: 14.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3497, allocations: 97.86 kB / 1.306 GB, free: 14.78 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3498, allocations: 25.7 kB / 1.306 GB, free: 14.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.3498, allocations: 84.14 kB / 1.306 GB, free: 14.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.3498, allocations: 11.94 kB / 1.306 GB, free: 14.65 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.3499, allocations: 9.719 kB / 1.306 GB, free: 14.63 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.35, allocations: 315 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.537e-05/0.3501, allocations: 19.98 kB / 1.307 GB, free: 14.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.3501, allocations: 11.98 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.3503, allocations: 44.81 kB / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3503, allocations: 0 / 1.307 GB, free: 14.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.3505, allocations: 77.55 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3505, allocations: 8 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3505, allocations: 0 / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3505, allocations: 0 / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.3506, allocations: 8 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3506, allocations: 0 / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.3507, allocations: 7.984 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3507, allocations: 0 / 1.307 GB, free: 14.13 MB / 1.014 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.827e-05/0.3507, allocations: 117.8 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.3508, allocations: 4 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.351, allocations: 76.7 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.351, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.351, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.351, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.3512, allocations: 161.6 kB / 1.307 GB, free: 13.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3512, allocations: 4.031 kB / 1.307 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.629e-05/0.3512, allocations: 11.98 kB / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3512, allocations: 0 / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.3512, allocations: 0 / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3512, allocations: 0 / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3512, allocations: 0 / 1.307 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.3515, allocations: 167.5 kB / 1.307 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.3515, allocations: 89 kB / 1.307 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3516, allocations: 4 kB / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.3516, allocations: 7.984 kB / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3517, allocations: 0 / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3517, allocations: 0 / 1.307 GB, free: 13.41 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.3517, allocations: 91.2 kB / 1.307 GB, free: 13.32 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3517, allocations: 0 / 1.307 GB, free: 13.32 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002412/0.352, allocations: 15.94 kB / 1.307 GB, free: 13.3 MB / 1.014 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.0002051/0.3522, allocations: 119.2 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3524, allocations: 39.95 kB / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3524, allocations: 0 / 1.308 GB, free: 13.13 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.3525, allocations: 24.05 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3527, allocations: 4.266 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.353, allocations: 109.4 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3533, allocations: 0.6768 MB / 1.308 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.261e-05/0.3533, allocations: 0 / 1.308 GB, free: 12.27 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.3533, allocations: 7.438 kB / 1.308 GB, free: 12.26 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.3533, allocations: 4.062 kB / 1.308 GB, free: 12.26 MB / 1.014 GB Notification: Performance of Templates: time 0.003202/0.3565, allocations: 0.6528 MB / 1.309 GB, free: 11.61 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.57176452409476]