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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001234/0.001234, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001221/0.001221, allocations: 198 kB / 17.3 MB, free: 5.883 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.205/1.205, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.008/2.008, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 66.98 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2241, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00172/0.2259, allocations: 0.582 MB / 0.9517 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004862/0.2264, allocations: 191.4 kB / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.2264, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.2264, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-06/0.2264, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004175/0.2269, allocations: 51.83 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.043e-05/0.2269, allocations: 4 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.227, allocations: 7.984 kB / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.693e-05/0.227, allocations: 0 / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.028e-05/0.227, allocations: 0 / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.227, allocations: 0 / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.2272, allocations: 55.89 kB / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.2272, allocations: 7.984 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.2272, allocations: 0 / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.2274, allocations: 31.89 kB / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2274, allocations: 0 / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2274, allocations: 0 / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2274, allocations: 4 kB / 0.952 GB, free: 7.152 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.0003278/0.2277, allocations: 319.6 kB / 0.9523 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2278, allocations: 12.03 kB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.2278, allocations: 0.9375 kB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.068e-05/0.2279, allocations: 160.4 kB / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2279, allocations: 384 / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.2279, allocations: 384 / 0.9525 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.58e-05/0.228, allocations: 30.27 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.228, allocations: 192 / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.228, allocations: 11.92 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2281, allocations: 3.938 kB / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.699e-05/0.2281, allocations: 0 / 0.9525 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.2282, allocations: 153.6 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.739e-05/0.2283, allocations: 18.56 kB / 0.9527 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.2283, allocations: 6.969 kB / 0.9527 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/0.2289, allocations: 469.5 kB / 0.9532 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.229, allocations: 30.56 kB / 0.9532 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.229, allocations: 0 / 0.9532 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001031/0.2291, allocations: 37.58 kB / 0.9532 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.2291, allocations: 55.41 kB / 0.9533 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.924e-05/0.2291, allocations: 93.98 kB / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.649e-06/0.2292, allocations: 25.7 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.2292, allocations: 80.14 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.2292, allocations: 3.984 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.2292, allocations: 13.72 kB / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.2293, allocations: 314.8 kB / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.2293, allocations: 0 / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-06/0.2294, allocations: 0 / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.2294, allocations: 16.86 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2294, allocations: 0 / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.442e-05/0.2294, allocations: 37.64 kB / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.2294, allocations: 6.188 kB / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2295, allocations: 7.984 kB / 0.9539 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2295, allocations: 3.938 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.4e-05/0.2295, allocations: 4 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.2295, allocations: 0 / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-06/0.2295, allocations: 0 / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.2295, allocations: 4.031 kB / 0.9539 GB, free: 4.957 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 5.645e-05/0.2296, allocations: 109.8 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-06/0.2296, allocations: 0 / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.2297, allocations: 44.69 kB / 0.954 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2297, allocations: 0 / 0.954 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2297, allocations: 0 / 0.954 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2297, allocations: 0 / 0.954 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.815e-05/0.2298, allocations: 153.7 kB / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.2298, allocations: 0 / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-06/0.2298, allocations: 4.031 kB / 0.9542 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2298, allocations: 0 / 0.9542 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.2298, allocations: 3.938 kB / 0.9542 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2298, allocations: 3.984 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2298, allocations: 4 kB / 0.9542 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.099e-05/0.2299, allocations: 49.14 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.2299, allocations: 85.05 kB / 0.9543 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.2299, allocations: 3.938 kB / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-06/0.2299, allocations: 4.031 kB / 0.9543 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-06/0.23, allocations: 7.984 kB / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.23, allocations: 0 / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.119e-05/0.23, allocations: 79.22 kB / 0.9544 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.23, allocations: 0 / 0.9544 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001773/0.2302, allocations: 12 kB / 0.9544 GB, free: 4.301 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.0001958/0.2304, allocations: 119.2 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.011e-05/0.2305, allocations: 4 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2305, allocations: 0 / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.155e-06/0.2305, allocations: 4 kB / 0.9545 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.2306, allocations: 0 / 0.9545 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/0.2308, allocations: 84.86 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.231, allocations: 0.6846 MB / 0.9553 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.039e-05/0.231, allocations: 0 / 0.9553 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.2311, allocations: 7.438 kB / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.2311, allocations: 0 / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.002047/0.2331, allocations: 408.5 kB / 0.9557 GB, free: 2.941 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 -s cvode -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