Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001691/0.001691, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001846/0.001846, allocations: 186 kB / 20.78 MB, free: 1.547 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.454/1.454, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.594/2.594, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3366, allocations: 160.7 MB / 1.216 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00263/0.3393, allocations: 1.447 MB / 1.218 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005657/0.3398, allocations: 248 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.3398, allocations: 0 / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.3399, allocations: 7.922 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.533e-05/0.3399, allocations: 0 / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003408/0.3403, allocations: 63.81 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.3403, allocations: 23.94 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.3404, allocations: 3.984 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.848e-05/0.3404, allocations: 11.94 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.728e-05/0.3405, allocations: 7.984 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.205e-06/0.3405, allocations: 0 / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.3406, allocations: 67.81 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.983e-05/0.3407, allocations: 15.92 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.3407, allocations: 0 / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.3408, allocations: 51.81 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3408, allocations: 0 / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3408, allocations: 0 / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3408, allocations: 4 kB / 1.218 GB, free: 13.37 MB / 0.9669 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.0004986/0.3413, allocations: 347.3 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3414, allocations: 16.02 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.3414, allocations: 4.938 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3416, allocations: 168.3 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-06/0.3416, allocations: 4.375 kB / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.3416, allocations: 384 / 1.219 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3417, allocations: 58.17 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3418, allocations: 192 / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3418, allocations: 3.938 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3418, allocations: 3.938 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3419, allocations: 35.95 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.3423, allocations: 245 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.3424, allocations: 46.42 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.3425, allocations: 25.91 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007147/0.3432, allocations: 453.5 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3433, allocations: 34.56 kB / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.3433, allocations: 0 / 1.219 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003594/0.3436, allocations: 77.64 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3437, allocations: 51.41 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.3438, allocations: 105.8 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3438, allocations: 25.7 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.3438, allocations: 88.27 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3438, allocations: 7.953 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.3439, allocations: 9.719 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.344, allocations: 318.8 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.3441, allocations: 15.98 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.806e-05/0.3442, allocations: 11.98 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.3443, allocations: 44.89 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3443, allocations: 0 / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/0.3445, allocations: 73.55 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3445, allocations: 4 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3446, allocations: 0 / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3446, allocations: 3.938 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.3446, allocations: 16.02 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3447, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.66e-05/0.3447, allocations: 11.92 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3447, allocations: 0 / 1.22 GB, free: 10.79 MB / 0.9669 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.72e-05/0.3448, allocations: 112.4 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.3448, allocations: 4 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.345, allocations: 72.78 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.345, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.345, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.345, allocations: 0 / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.3452, allocations: 165.6 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3453, allocations: 0 / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.3453, allocations: 11.88 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3453, allocations: 3.984 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3453, allocations: 4 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3453, allocations: 4 kB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3453, allocations: 0 / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3456, allocations: 167.5 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.3456, allocations: 81.06 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.3456, allocations: 0 / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.3457, allocations: 4 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.3458, allocations: 3.984 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3458, allocations: 4.031 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.3458, allocations: 83.28 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3458, allocations: 0 / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002388/0.346, allocations: 19.94 kB / 1.221 GB, free: 9.961 MB / 0.9669 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.0002098/0.3463, allocations: 115.2 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.3465, allocations: 43.89 kB / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3465, allocations: 0 / 1.221 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.3466, allocations: 19.98 kB / 1.221 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.3468, allocations: 5.5 kB / 1.221 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.3471, allocations: 113.5 kB / 1.221 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3474, allocations: 0.6808 MB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.01e-05/0.3474, allocations: 0 / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.3474, allocations: 11.44 kB / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.3474, allocations: 0 / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of Templates: time 0.003261/0.3507, allocations: 0.6746 MB / 1.223 GB, free: 8.246 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 7.975890194997191]