Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0083/0.0083, allocations: 102 kB / 15.73 MB, free: 6.039 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.002148/0.002148, allocations: 194 kB / 16.67 MB, free: 5.961 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 67.89 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.091, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002499/1.094, allocations: 1.425 MB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005638/1.095, allocations: 250.5 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/1.095, allocations: 0 / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/1.095, allocations: 4.5 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.196e-05/1.095, allocations: 14.16 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003814/1.095, allocations: 52.58 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.824e-05/1.095, allocations: 20.62 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.666e-05/1.095, allocations: 7.109 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/1.095, allocations: 6.719 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/1.095, allocations: 17.11 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/1.095, allocations: 2.344 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/1.096, allocations: 61.88 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/1.096, allocations: 0.6562 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/1.096, allocations: 15.5 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/1.096, allocations: 56.05 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.096, allocations: 0.7188 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/1.096, allocations: 0 / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.083e-06/1.096, allocations: 0.6562 kB / 1.09 GB, free: 4.25 MB / 0.8575 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.000435/1.096, allocations: 343.9 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.096, allocations: 9.438 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/1.096, allocations: 10.58 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/1.096, allocations: 167.7 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/1.096, allocations: 4.375 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/1.096, allocations: 1.531 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/1.097, allocations: 49.17 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.097, allocations: 1.969 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/1.097, allocations: 3.938 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/1.097, allocations: 0 / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/1.097, allocations: 33.08 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/1.097, allocations: 246.8 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/1.097, allocations: 48.52 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/1.097, allocations: 23.66 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005894/1.098, allocations: 454.2 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/1.098, allocations: 32.2 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.933e-06/1.098, allocations: 0 / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/1.098, allocations: 83.36 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/1.098, allocations: 61.17 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/1.098, allocations: 100.6 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/1.098, allocations: 25.7 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.211e-05/1.099, allocations: 86.58 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/1.099, allocations: 2.203 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/1.099, allocations: 16.41 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.092e-05/1.099, allocations: 312.2 kB / 1.092 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/1.099, allocations: 22.53 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/1.099, allocations: 14.55 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/1.099, allocations: 36.38 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.099, allocations: 0 / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/1.099, allocations: 79.12 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1.099, allocations: 10.31 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.099, allocations: 0 / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.099, allocations: 1.188 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/1.099, allocations: 13 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/1.099, allocations: 1.375 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/1.099, allocations: 5.266 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/1.099, allocations: 0.8438 kB / 1.092 GB, free: 2.059 MB / 0.8575 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 5.726e-05/1.099, allocations: 112.8 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/1.099, allocations: 5.156 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/1.1, allocations: 71.19 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.1, allocations: 0.6094 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.1, allocations: 0.8125 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.1, allocations: 0.5156 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/1.1, allocations: 163.6 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/1.1, allocations: 3.938 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/1.1, allocations: 13.08 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.1, allocations: 1.188 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/1.1, allocations: 0.7969 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.1, allocations: 1.062 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.1, allocations: 0 / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/1.1, allocations: 162.8 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/1.1, allocations: 88.64 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/1.1, allocations: 1.484 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/1.1, allocations: 9.594 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/1.1, allocations: 3.406 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/1.1, allocations: 0 / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.761e-05/1.1, allocations: 80.31 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/1.1, allocations: 0 / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002318/1.101, allocations: 17.84 kB / 1.093 GB, free: 1.363 MB / 0.8575 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.0001975/1.101, allocations: 127.5 kB / 1.093 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002124/1.101, allocations: 35.52 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.101, allocations: 0 / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.642e-05/1.101, allocations: 20.44 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/1.101, allocations: 10.25 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/1.102, allocations: 104 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/1.102, allocations: 0.6755 MB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.208e-05/1.102, allocations: 4.781 kB / 1.094 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/1.102, allocations: 13.45 kB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/1.102, allocations: 0 / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of Templates: time 0.003168/1.105, allocations: 0.6674 MB / 1.094 GB, free: 16.34 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches