Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 101.7 kB / 15.98 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001378, allocations: 196 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.686/2.686, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 64.81 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3312, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002752/0.334, allocations: 1.491 MB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005873/0.3346, allocations: 259.2 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.15e-05/0.3346, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.3347, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.3347, allocations: 3.938 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.3351, allocations: 51.95 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.3351, allocations: 15.94 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.3352, allocations: 15.97 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.484e-05/0.3353, allocations: 11.94 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.3353, allocations: 15.92 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.716e-06/0.3353, allocations: 0 / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.3355, allocations: 67.88 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.3355, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.3355, allocations: 11.94 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.3356, allocations: 35.92 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3357, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.552e-06/0.3357, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.3357, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8419 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.000485/0.3362, allocations: 347.8 kB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3362, allocations: 8.031 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.3362, allocations: 8.844 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3364, allocations: 164.3 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3364, allocations: 4.375 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.3364, allocations: 384 / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3366, allocations: 54.22 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3366, allocations: 4.188 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3366, allocations: 3.938 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3366, allocations: 4 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3368, allocations: 31.95 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.3372, allocations: 248.9 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.3373, allocations: 46.48 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.3374, allocations: 20.91 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007871/0.3382, allocations: 457.5 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.3383, allocations: 34.56 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3383, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004135/0.3387, allocations: 89.48 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3387, allocations: 51.41 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.715e-05/0.3388, allocations: 101.9 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3389, allocations: 25.7 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.3389, allocations: 84.27 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.3389, allocations: 7.891 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.339, allocations: 17.72 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3391, allocations: 310.8 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.3392, allocations: 11.98 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.3393, allocations: 23.97 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3395, allocations: 36.89 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3395, allocations: 0 / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001974/0.3397, allocations: 73.53 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3397, allocations: 6.188 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3397, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3398, allocations: 7.938 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.3399, allocations: 12.02 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3399, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.3399, allocations: 4 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3399, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8419 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 9.026e-05/0.34, allocations: 117.8 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.3401, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.3403, allocations: 80.7 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3403, allocations: 4 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3403, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3403, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3405, allocations: 165.6 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3405, allocations: 0 / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.3406, allocations: 11.98 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3406, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3406, allocations: 3.938 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3406, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3406, allocations: 0 / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.3409, allocations: 163.5 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.3409, allocations: 84.95 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.341, allocations: 0 / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.341, allocations: 11.98 kB / 1.069 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.3411, allocations: 4 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3411, allocations: 7.969 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.3412, allocations: 83.45 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3412, allocations: 0 / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002548/0.3414, allocations: 16 kB / 1.069 GB, free: 9.723 MB / 0.8419 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.0002158/0.3416, allocations: 111.4 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3419, allocations: 43.97 kB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3419, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.342, allocations: 15.98 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.3422, allocations: 15.91 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.3425, allocations: 143.2 kB / 1.069 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3429, allocations: 0.6729 MB / 1.07 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.3429, allocations: 7.438 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3429, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of Templates: time 0.002427/0.3453, allocations: 0.7808 MB / 1.071 GB, free: 7.875 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches