Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007442/0.007442, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.001559/0.001559, allocations: 191.5 kB / 16.67 MB, free: 5.918 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.91 kB / 1.019 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3146, allocations: 151.6 MB / 1.167 GB, free: 6.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001706/0.3164, allocations: 0.5907 MB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004205/0.3168, allocations: 179.8 kB / 1.167 GB, free: 5.973 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.202e-05/0.3168, allocations: 7.938 kB / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.3169, allocations: 0 / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.482e-06/0.3169, allocations: 3.938 kB / 1.167 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.3173, allocations: 55.83 kB / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 3.512e-05/0.3173, allocations: 0 / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.928e-05/0.3174, allocations: 0 / 1.167 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.794e-05/0.3174, allocations: 11.98 kB / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.942e-05/0.3174, allocations: 0 / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-06/0.3174, allocations: 0 / 1.167 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.3176, allocations: 55.88 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.084e-06/0.3176, allocations: 4 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.3176, allocations: 0 / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.3177, allocations: 39.88 kB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.3178, allocations: 4 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3178, allocations: 0 / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3178, allocations: 0 / 1.168 GB, free: 5.793 MB / 0.92 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.0002765/0.318, allocations: 311.5 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.3181, allocations: 8.031 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.3181, allocations: 4.938 kB / 1.168 GB, free: 5.426 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.881e-05/0.3182, allocations: 172.2 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.3182, allocations: 4.375 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.3183, allocations: 4.375 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.842e-05/0.3184, allocations: 26.27 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3184, allocations: 192 / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3184, allocations: 7.938 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.3184, allocations: 0 / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.3184, allocations: 0 / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.3185, allocations: 145.7 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.632e-05/0.3186, allocations: 26.55 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.3186, allocations: 8.859 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006541/0.3193, allocations: 449.5 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3193, allocations: 30.56 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3193, allocations: 4 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.000128/0.3194, allocations: 45.58 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.3195, allocations: 51.41 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.122e-05/0.3195, allocations: 89.86 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3195, allocations: 25.7 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.3196, allocations: 88.08 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.3196, allocations: 0 / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.3196, allocations: 9.719 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.3197, allocations: 315 kB / 1.169 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.3197, allocations: 4 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-06/0.3198, allocations: 0 / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.432e-05/0.3198, allocations: 12.84 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3198, allocations: 7.938 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.817e-05/0.3198, allocations: 29.7 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3199, allocations: 4 kB / 1.169 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3199, allocations: 0 / 1.169 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3199, allocations: 8.031 kB / 1.169 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.168e-05/0.3199, allocations: 7.938 kB / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3199, allocations: 0 / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-06/0.32, allocations: 0 / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.32, allocations: 0 / 1.169 GB, free: 3.613 MB / 0.92 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 7.072e-05/0.32, allocations: 109.8 kB / 1.169 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-06/0.3201, allocations: 4 kB / 1.169 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.317e-05/0.3201, allocations: 48.7 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3201, allocations: 4.031 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3202, allocations: 3.984 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.3202, allocations: 0 / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.347e-05/0.3202, allocations: 145.7 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3203, allocations: 0 / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.3203, allocations: 4 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3203, allocations: 0 / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.3203, allocations: 3.938 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3203, allocations: 0 / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3203, allocations: 3.938 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.121e-05/0.3204, allocations: 65.12 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.3204, allocations: 77.11 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.3204, allocations: 3.938 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.3204, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.3204, allocations: 0 / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3205, allocations: 4 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.188e-05/0.3205, allocations: 75.28 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3205, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001944/0.3207, allocations: 15.97 kB / 1.17 GB, free: 2.953 MB / 0.92 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.000188/0.3209, allocations: 119.2 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.026e-05/0.321, allocations: 11.94 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.321, allocations: 0 / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.321, allocations: 8.062 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.3211, allocations: 0 / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001512/0.3213, allocations: 76.92 kB / 1.17 GB, free: 2.703 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3215, allocations: 0.6729 MB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.098e-05/0.3215, allocations: 0 / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.187e-05/0.3215, allocations: 7.438 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/0.3215, allocations: 0 / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of Templates: time 0.002134/0.3237, allocations: 420.5 kB / 1.171 GB, free: 1.586 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches