Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008049/0.008049, allocations: 97.73 kB / 15.73 MB, free: 6.043 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.001585/0.001586, allocations: 198 kB / 16.68 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.397/2.397, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.48 kB / 0.9509 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3326, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001962/0.3346, allocations: 0.5726 MB / 1.089 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.3352, allocations: 199.6 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.457e-05/0.3352, allocations: 0 / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.391e-05/0.3353, allocations: 0 / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.714e-06/0.3353, allocations: 0 / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.3358, allocations: 55.81 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.225e-05/0.3358, allocations: 0 / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.3359, allocations: 4 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.516e-05/0.3359, allocations: 0 / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.2e-05/0.3359, allocations: 11.94 kB / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.083e-06/0.3359, allocations: 0 / 1.089 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.3361, allocations: 63.86 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.145e-06/0.3361, allocations: 0 / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.3362, allocations: 4 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.3363, allocations: 39.88 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3363, allocations: 0 / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3363, allocations: 0 / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3363, allocations: 0 / 1.089 GB, free: 0.5195 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.0003532/0.3367, allocations: 315.5 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3367, allocations: 16.03 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.3368, allocations: 0.9375 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.3369, allocations: 164.3 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3369, allocations: 384 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.3369, allocations: 384 / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.3371, allocations: 34.25 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3371, allocations: 4.188 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.3371, allocations: 3.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3371, allocations: 0 / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.3372, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.3374, allocations: 149.7 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.307e-05/0.3374, allocations: 18.52 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.3374, allocations: 8.797 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009024/0.3384, allocations: 465.5 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.3384, allocations: 30.56 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 3.256e-06/0.3384, allocations: 0 / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.3386, allocations: 41.56 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3386, allocations: 51.41 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.683e-05/0.3386, allocations: 89.86 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3387, allocations: 33.64 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.3387, allocations: 88.27 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3387, allocations: 0 / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.3388, allocations: 9.719 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3389, allocations: 310.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.3389, allocations: 4 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-06/0.3389, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.506e-05/0.3389, allocations: 8.859 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.339, allocations: 64 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.706e-05/0.339, allocations: 41.69 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.339, allocations: 5.562 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.339, allocations: 3.984 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3391, allocations: 3.938 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.516e-05/0.3391, allocations: 7.938 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3391, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.3391, allocations: 3.953 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.3392, allocations: 0 / 1.091 GB, free: 14.32 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 7.147e-05/0.3392, allocations: 113.9 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-06/0.3392, allocations: 3.984 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.772e-05/0.3393, allocations: 44.75 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3393, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3393, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.3393, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.791e-05/0.3394, allocations: 145.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3394, allocations: 0 / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.3395, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3395, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3395, allocations: 7.969 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3395, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3395, allocations: 3.938 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.335e-05/0.3396, allocations: 61.12 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.716e-05/0.3396, allocations: 81.11 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3396, allocations: 3.938 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-06/0.3396, allocations: 3.938 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.3397, allocations: 4.031 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3397, allocations: 7.938 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.947e-05/0.3397, allocations: 75.28 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3397, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000214/0.3399, allocations: 11.94 kB / 1.091 GB, free: 13.66 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.0002205/0.3401, allocations: 123.2 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.33e-05/0.3402, allocations: 7.938 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3402, allocations: 0 / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/0.3403, allocations: 4 kB / 1.091 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.3404, allocations: 4 kB / 1.091 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001767/0.3406, allocations: 77.05 kB / 1.091 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.3408, allocations: 0.6729 MB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.641e-05/0.3408, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.3409, allocations: 7.562 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.3409, allocations: 4 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.002361/0.3432, allocations: 405 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches