Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_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_9_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.001263/0.001263, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001303/0.001303, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.377/1.377, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.291/2.291, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 66.3 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3053, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002259/0.3076, allocations: 0.5824 MB / 0.9508 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004909/0.3081, allocations: 187.3 kB / 0.951 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.326e-05/0.3081, allocations: 0 / 0.951 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.3082, allocations: 0 / 0.951 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.3082, allocations: 0 / 0.951 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.3087, allocations: 47.84 kB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.948e-05/0.3087, allocations: 8 kB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.3088, allocations: 3.984 kB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.426e-05/0.3088, allocations: 4 kB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.92e-05/0.3088, allocations: 0 / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.3088, allocations: 0 / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.309, allocations: 59.88 kB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.145e-06/0.309, allocations: 0 / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.3091, allocations: 0 / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.3092, allocations: 43.88 kB / 0.9512 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3092, allocations: 0 / 0.9512 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3092, allocations: 0 / 0.9512 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3092, allocations: 4 kB / 0.9512 GB, free: 7.953 MB / 0.7325 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.0003072/0.3095, allocations: 321.1 kB / 0.9515 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3096, allocations: 8.031 kB / 0.9515 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.3096, allocations: 0.9375 kB / 0.9515 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.3097, allocations: 164.4 kB / 0.9517 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3097, allocations: 384 / 0.9517 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3098, allocations: 8.375 kB / 0.9517 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3099, allocations: 30.2 kB / 0.9517 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.3099, allocations: 8.125 kB / 0.9517 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3099, allocations: 3.938 kB / 0.9517 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3099, allocations: 0 / 0.9517 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.3099, allocations: 4 kB / 0.9517 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.3101, allocations: 149.6 kB / 0.9519 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.742e-05/0.3101, allocations: 18.58 kB / 0.9519 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.3102, allocations: 11.06 kB / 0.9519 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007534/0.3109, allocations: 453.5 kB / 0.9523 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.311, allocations: 38.5 kB / 0.9524 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.492e-06/0.311, allocations: 0 / 0.9524 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.3111, allocations: 37.64 kB / 0.9524 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3112, allocations: 51.41 kB / 0.9524 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.426e-05/0.3112, allocations: 93.98 kB / 0.9525 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3112, allocations: 25.7 kB / 0.9525 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.3113, allocations: 80.14 kB / 0.9526 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.3113, allocations: 0 / 0.9526 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.3113, allocations: 13.72 kB / 0.9526 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3114, allocations: 314.8 kB / 0.9529 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-06/0.3114, allocations: 0 / 0.9529 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.189e-05/0.3115, allocations: 11.94 kB / 0.953 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.3115, allocations: 8.922 kB / 0.953 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3115, allocations: 0 / 0.953 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.041e-05/0.3116, allocations: 33.7 kB / 0.953 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3116, allocations: 7.938 kB / 0.953 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3116, allocations: 0 / 0.953 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3116, allocations: 3.938 kB / 0.953 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/0.3117, allocations: 0 / 0.953 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3117, allocations: 7.984 kB / 0.953 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.024e-05/0.3117, allocations: 0 / 0.953 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.3117, allocations: 4.031 kB / 0.953 GB, free: 5.766 MB / 0.7325 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 6.316e-05/0.3118, allocations: 107.8 kB / 0.9531 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.3118, allocations: 0 / 0.9531 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.402e-05/0.3119, allocations: 44.7 kB / 0.9532 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3119, allocations: 0 / 0.9532 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3119, allocations: 4 kB / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3119, allocations: 3.984 kB / 0.9532 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.163e-05/0.312, allocations: 141.7 kB / 0.9533 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.312, allocations: 0 / 0.9533 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.312, allocations: 4.031 kB / 0.9533 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.312, allocations: 4 kB / 0.9533 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.312, allocations: 3.938 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.312, allocations: 4 kB / 0.9533 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.312, allocations: 3.938 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.642e-05/0.3121, allocations: 61.06 kB / 0.9534 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.3122, allocations: 81.11 kB / 0.9535 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.3122, allocations: 7.969 kB / 0.9535 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/0.3122, allocations: 3.984 kB / 0.9535 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.3122, allocations: 0 / 0.9535 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.3122, allocations: 0 / 0.9535 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.204e-05/0.3123, allocations: 75.28 kB / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.3123, allocations: 0 / 0.9535 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000217/0.3125, allocations: 15.98 kB / 0.9536 GB, free: 5.109 MB / 0.7325 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.0002228/0.3127, allocations: 123.2 kB / 0.9537 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.476e-05/0.3128, allocations: 8 kB / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3128, allocations: 0 / 0.9537 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.528e-06/0.3128, allocations: 7.922 kB / 0.9537 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.313, allocations: 6.812 kB / 0.9537 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.3132, allocations: 102.7 kB / 0.9538 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.3135, allocations: 0.6806 MB / 0.9545 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.3135, allocations: 7.438 kB / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.3135, allocations: 0 / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of Templates: time 0.001947/0.3154, allocations: 0.5464 MB / 0.955 GB, free: 3.566 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches