Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001474/0.001474, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001994, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.908/2.908, allocations: 472.6 MB / 0.7451 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 68.25 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3173, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00163/0.3189, allocations: 0.5753 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000426/0.3194, allocations: 187.4 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.303e-05/0.3194, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.259e-05/0.3194, allocations: 3.938 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.589e-06/0.3194, allocations: 3.938 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.3198, allocations: 51.88 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.244e-05/0.3198, allocations: 7.938 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.3199, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.621e-05/0.3199, allocations: 3.938 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.836e-05/0.3199, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.492e-06/0.3199, allocations: 0 / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.3201, allocations: 63.94 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.345e-06/0.3201, allocations: 3.984 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.394e-05/0.3201, allocations: 0 / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.604e-05/0.3202, allocations: 23.97 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3202, allocations: 0 / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3202, allocations: 3.938 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.3202, allocations: 0 / 1.069 GB, free: 9.48 MB / 0.8262 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.0002763/0.3205, allocations: 327.6 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3206, allocations: 8.031 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.3206, allocations: 0.9375 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.3207, allocations: 164.4 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-06/0.3207, allocations: 384 / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.3207, allocations: 4.359 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.584e-05/0.3208, allocations: 30.27 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.3208, allocations: 192 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3208, allocations: 3.938 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3208, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.3208, allocations: 4 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.321, allocations: 145.7 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.33e-05/0.321, allocations: 28.62 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.321, allocations: 12.94 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006956/0.3217, allocations: 445.5 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3218, allocations: 46.55 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3218, allocations: 0 / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001119/0.3219, allocations: 45.56 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.3219, allocations: 51.41 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.015e-05/0.322, allocations: 89.86 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.322, allocations: 25.7 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.322, allocations: 80.14 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.322, allocations: 3.984 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.3221, allocations: 21.84 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.3222, allocations: 310.8 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-06/0.3222, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.3222, allocations: 0 / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.281e-05/0.3222, allocations: 8.859 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3222, allocations: 3.938 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.915e-05/0.3223, allocations: 41.53 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3223, allocations: 8 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3223, allocations: 4.094 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.3223, allocations: 3.938 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.33e-05/0.3223, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.3224, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-06/0.3224, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.3224, allocations: 4 kB / 1.071 GB, free: 7.281 MB / 0.8262 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.923e-05/0.3224, allocations: 109.8 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.071e-06/0.3224, allocations: 0 / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.141e-05/0.3225, allocations: 44.75 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3225, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3225, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3225, allocations: 0 / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.64e-05/0.3226, allocations: 149.7 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3226, allocations: 3.938 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.3227, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.3227, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3227, allocations: 11.94 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3227, allocations: 3.938 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3227, allocations: 0 / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.414e-05/0.3227, allocations: 53.17 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.3228, allocations: 81.09 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.3228, allocations: 7.938 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.3228, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-06/0.3228, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.3228, allocations: 4 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.344e-05/0.3228, allocations: 79.28 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3229, allocations: 4.031 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001927/0.3231, allocations: 12 kB / 1.071 GB, free: 6.625 MB / 0.8262 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.0001806/0.3232, allocations: 115.8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.395e-05/0.3233, allocations: 7.938 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3233, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.144e-06/0.3233, allocations: 8.062 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.3234, allocations: 1.875 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001543/0.3236, allocations: 92.91 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.3238, allocations: 0.669 MB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.112e-05/0.3238, allocations: 0 / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.3238, allocations: 7.438 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3238, allocations: 0 / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of Templates: time 0.00212/0.326, allocations: 410 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches