Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006163/0.006163, allocations: 96.73 kB / 15.73 MB, free: 6.051 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.00141/0.00141, allocations: 196.9 kB / 16.67 MB, free: 5.977 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.75/2.75, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.412, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003436/0.4155, allocations: 1.445 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006369/0.4161, allocations: 235.3 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.023e-05/0.4162, allocations: 0 / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.4162, allocations: 3.938 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.188e-05/0.4162, allocations: 3.984 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.4167, allocations: 55.83 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.327e-05/0.4168, allocations: 31.86 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.4169, allocations: 3.984 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.4169, allocations: 8 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.417, allocations: 19.91 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.417, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.4172, allocations: 55.89 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.4172, allocations: 4 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.4172, allocations: 15.92 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.4174, allocations: 47.86 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.4174, allocations: 0 / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4174, allocations: 3.938 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.4174, allocations: 4 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006404/0.418, allocations: 343.4 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4181, allocations: 12.03 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.4181, allocations: 4.891 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.4183, allocations: 164.4 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4183, allocations: 4.375 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.4183, allocations: 384 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.4185, allocations: 58.17 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4185, allocations: 4.172 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.4185, allocations: 3.938 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4185, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.4187, allocations: 31.97 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.4191, allocations: 249 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.4192, allocations: 42.5 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.028e-05/0.4193, allocations: 20.84 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/0.42, allocations: 457.5 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.42, allocations: 38.5 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.492e-06/0.42, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003798/0.4204, allocations: 81.64 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.4204, allocations: 51.41 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.344e-05/0.4205, allocations: 93.86 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.4205, allocations: 25.83 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.4206, allocations: 100 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.4206, allocations: 7.953 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.4207, allocations: 17.66 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4208, allocations: 318.8 kB / 1.225 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.4209, allocations: 11.98 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.204e-05/0.421, allocations: 19.97 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.4211, allocations: 40.89 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4211, allocations: 0 / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001886/0.4213, allocations: 73.59 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4213, allocations: 4 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4213, allocations: 0 / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.4213, allocations: 0 / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.567e-05/0.4214, allocations: 19.95 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4214, allocations: 7.922 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.4215, allocations: 4 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.4215, allocations: 0 / 1.225 GB, free: 9.273 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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 0.0001054/0.4216, allocations: 118.3 kB / 1.225 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.4216, allocations: 4 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.4219, allocations: 68.78 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4219, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.4219, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.4219, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.4221, allocations: 157.6 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4221, allocations: 4 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.465e-05/0.4221, allocations: 7.984 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4221, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.4221, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4221, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4221, allocations: 7.969 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.4224, allocations: 167.4 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.4224, allocations: 81.11 kB / 1.225 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.4225, allocations: 3.984 kB / 1.225 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.4225, allocations: 4 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.4226, allocations: 32 / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.4226, allocations: 4 kB / 1.225 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.19e-05/0.4226, allocations: 87.45 kB / 1.225 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4226, allocations: 3.938 kB / 1.225 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002441/0.4229, allocations: 19.94 kB / 1.225 GB, free: 8.453 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.0002408/0.4231, allocations: 115.2 kB / 1.225 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.4233, allocations: 39.91 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4233, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.4234, allocations: 23.97 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.4237, allocations: 5.953 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.424, allocations: 117.4 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.4243, allocations: 0.6768 MB / 1.226 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.4243, allocations: 4 kB / 1.226 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.4244, allocations: 11.44 kB / 1.226 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.4244, allocations: 3.938 kB / 1.226 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of Templates: time 0.003487/0.4279, allocations: 0.6507 MB / 1.227 GB, free: 6.75 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches