Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001406/0.001406, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001367/0.001367, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.394/2.394, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 67.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7166/0.7184, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001675/0.7201, allocations: 0.5848 MB / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005053/0.7206, allocations: 199.3 kB / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.308e-05/0.7206, allocations: 0 / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.7206, allocations: 0 / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.256e-06/0.7207, allocations: 0 / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.7211, allocations: 55.83 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.588e-05/0.7211, allocations: 0 / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.59e-05/0.7212, allocations: 3.984 kB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.588e-05/0.7212, allocations: 4 kB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.939e-05/0.7212, allocations: 0 / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.7212, allocations: 0 / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.7214, allocations: 67.88 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.623e-06/0.7214, allocations: 0 / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.432e-05/0.7214, allocations: 0 / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.7216, allocations: 39.88 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.7216, allocations: 0 / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7216, allocations: 0 / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.7216, allocations: 0 / 1.168 GB, free: 2.91 MB / 0.8887 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.0003774/0.722, allocations: 324.1 kB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.722, allocations: 8.922 kB / 1.169 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.7221, allocations: 4.875 kB / 1.169 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.7222, allocations: 172.3 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.7222, allocations: 384 / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.7222, allocations: 384 / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.7223, allocations: 38.2 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7223, allocations: 192 / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.7223, allocations: 3.938 kB / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.7223, allocations: 0 / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.735e-05/0.7224, allocations: 0 / 1.169 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.7225, allocations: 145.7 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.7226, allocations: 22.56 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.219e-05/0.7226, allocations: 11.42 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007531/0.7234, allocations: 453.5 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.7234, allocations: 42.48 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.7234, allocations: 0 / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001195/0.7235, allocations: 41.59 kB / 1.169 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.7236, allocations: 51.41 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.7237, allocations: 89.86 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.7237, allocations: 29.7 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.298e-05/0.7237, allocations: 80.14 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.7238, allocations: 0 / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.7238, allocations: 13.84 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.7239, allocations: 314.8 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-06/0.724, allocations: 4 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.724, allocations: 0 / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.724, allocations: 16.8 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.724, allocations: 0 / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.863e-05/0.7241, allocations: 29.7 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.7241, allocations: 12.03 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.7241, allocations: 0 / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.7241, allocations: 7.938 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.282e-05/0.7241, allocations: 0 / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.7241, allocations: 0 / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-06/0.7242, allocations: 0 / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.7242, allocations: 3.984 kB / 1.17 GB, free: 0.7188 MB / 0.8887 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.327e-05/0.7242, allocations: 112.9 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-06/0.7243, allocations: 0 / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.996e-05/0.7243, allocations: 48.7 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.7243, allocations: 0 / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.7244, allocations: 0 / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.7244, allocations: 0 / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.7245, allocations: 145.7 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.7245, allocations: 7.938 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.7245, allocations: 0 / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.7245, allocations: 0 / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.7245, allocations: 7.938 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.7245, allocations: 0 / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.7245, allocations: 3.984 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.85e-05/0.7246, allocations: 69.09 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.7247, allocations: 77.11 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.7247, allocations: 3.938 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.7247, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.7247, allocations: 4 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.7247, allocations: 0 / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 4.652e-05/0.7248, allocations: 75.31 kB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7248, allocations: 4 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000181/0.7249, allocations: 15.98 kB / 1.171 GB, free: 52 kB / 0.8887 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.0002203/0.7252, allocations: 111.2 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.7252, allocations: 8 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7253, allocations: 4.062 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.7253, allocations: 7.984 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.7254, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.7256, allocations: 80.88 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.7259, allocations: 0.6767 MB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.836e-06/0.7259, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.12e-05/0.7259, allocations: 7.438 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.7259, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.002331/0.7283, allocations: 424.4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches