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.006979/0.006979, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001261/0.001261, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.331/2.331, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 63.95 kB / 0.9509 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.304, allocations: 140.4 MB / 1.088 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001596/0.3056, allocations: 0.5721 MB / 1.089 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004519/0.3061, allocations: 183.7 kB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.431e-05/0.3061, allocations: 0 / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.3061, allocations: 0 / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-06/0.3062, allocations: 0 / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003831/0.3065, allocations: 59.81 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.609e-05/0.3066, allocations: 0 / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.3066, allocations: 4 kB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.382e-05/0.3067, allocations: 0 / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.644e-05/0.3067, allocations: 4 kB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/0.3067, allocations: 3.938 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.3069, allocations: 63.86 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.904e-06/0.3069, allocations: 0 / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.3069, allocations: 3.938 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.307, allocations: 27.95 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.307, allocations: 4 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.265e-06/0.307, allocations: 0 / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3071, allocations: 4 kB / 1.089 GB, free: 0.6406 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002813/0.3073, allocations: 319.6 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3074, allocations: 12.02 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.282e-05/0.3074, allocations: 4.938 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.3075, allocations: 160.4 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3075, allocations: 384 / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.364e-06/0.3075, allocations: 384 / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.896e-05/0.3076, allocations: 26.27 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.3076, allocations: 192 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.3076, allocations: 11.94 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3077, allocations: 3.938 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.3077, allocations: 0 / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.3078, allocations: 157.7 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.334e-05/0.3079, allocations: 18.61 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.349e-05/0.3079, allocations: 4.859 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/0.3085, allocations: 457.5 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.3086, allocations: 34.55 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3086, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.3087, allocations: 37.58 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.3087, allocations: 55.34 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.553e-05/0.3088, allocations: 93.98 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3088, allocations: 25.7 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.3088, allocations: 80.14 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.3088, allocations: 4 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.3089, allocations: 13.72 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.309, allocations: 314.8 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-06/0.309, allocations: 0 / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.408e-06/0.309, allocations: 4 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.309, allocations: 12.86 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.309, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.597e-05/0.3091, allocations: 33.7 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3091, allocations: 4 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3091, allocations: 0 / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3091, allocations: 3.938 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.665e-05/0.3091, allocations: 4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3092, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-06/0.3092, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.3092, allocations: 7.984 kB / 1.091 GB, free: 14.46 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 (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 5.564e-05/0.3093, allocations: 113.8 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.3093, allocations: 4 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.3093, allocations: 40.7 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3093, allocations: 3.984 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3094, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3094, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.421e-05/0.3094, allocations: 149.7 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.3094, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.3095, allocations: 8.031 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.3095, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3095, allocations: 3.938 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3095, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3095, allocations: 3.984 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.933e-05/0.3096, allocations: 61.03 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.3096, allocations: 81.05 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.3096, allocations: 3.938 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/0.3096, allocations: 8.031 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.3096, allocations: 7.938 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.3096, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.351e-05/0.3097, allocations: 79.28 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3097, allocations: 0 / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000191/0.3099, allocations: 11.98 kB / 1.091 GB, free: 13.79 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 (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.0001897/0.3101, allocations: 123.2 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.208e-05/0.3101, allocations: 4 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3101, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.114e-06/0.3101, allocations: 3.984 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.3103, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001621/0.3104, allocations: 81.02 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3107, allocations: 0.6691 MB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.465e-05/0.3107, allocations: 8 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.3108, allocations: 7.438 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.3108, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of Templates: time 0.00283/0.3136, allocations: 409.9 kB / 1.093 GB, free: 12.43 MB / 0.8575 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/jenkins/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