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.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.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.001671/0.001671, allocations: 109.3 kB / 16.41 MB, free: 6.492 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.001865/0.001865, allocations: 183 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.303/2.303, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 71.83 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 140.4 MB / 1.089 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.00203/1.066, allocations: 0.5778 MB / 1.089 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005183/1.067, allocations: 195 kB / 1.089 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.483e-05/1.067, allocations: 0 / 1.089 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/1.067, allocations: 0 / 1.089 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-06/1.067, allocations: 0 / 1.089 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004168/1.067, allocations: 52.34 kB / 1.089 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.17e-05/1.067, allocations: 5 kB / 1.089 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/1.067, allocations: 1.969 kB / 1.089 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.53e-05/1.067, allocations: 0 / 1.089 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/1.067, allocations: 1.953 kB / 1.089 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/1.067, allocations: 4 kB / 1.089 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/1.067, allocations: 64.14 kB / 1.09 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.894e-06/1.067, allocations: 0 / 1.09 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/1.067, allocations: 0 / 1.09 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/1.068, allocations: 36.12 kB / 1.09 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.068, allocations: 4.656 kB / 1.09 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/1.068, allocations: 0 / 1.09 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.032e-06/1.068, allocations: 1.125 kB / 1.09 GB, free: 5.215 MB / 0.8575 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.0002829/1.068, allocations: 317.6 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.068, allocations: 8.938 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/1.068, allocations: 6.578 kB / 1.09 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.692e-05/1.068, allocations: 161.7 kB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/1.068, allocations: 5.438 kB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/1.068, allocations: 384 / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/1.068, allocations: 30.36 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/1.068, allocations: 192 / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/1.068, allocations: 7.875 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.068, allocations: 0 / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.062e-05/1.068, allocations: 1.312 kB / 1.09 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/1.068, allocations: 152.7 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.38e-05/1.068, allocations: 25 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/1.068, allocations: 6.266 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006539/1.069, allocations: 454.1 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/1.069, allocations: 35.78 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.069, allocations: 0 / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001382/1.069, allocations: 41.14 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/1.069, allocations: 52.34 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.216e-05/1.069, allocations: 89.86 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/1.069, allocations: 25.7 kB / 1.091 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.302e-05/1.069, allocations: 85.55 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/1.069, allocations: 4.125 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/1.069, allocations: 19.52 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.123e-05/1.069, allocations: 313.4 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-06/1.069, allocations: 0.9062 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/1.069, allocations: 1.156 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/1.07, allocations: 7.5 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.07, allocations: 1.062 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.608e-05/1.07, allocations: 35.3 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.07, allocations: 9.875 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.07, allocations: 1.125 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.07, allocations: 3.938 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/1.07, allocations: 2.594 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/1.07, allocations: 7.922 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/1.07, allocations: 1.844 kB / 1.091 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/1.07, allocations: 0 / 1.091 GB, free: 3.156 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 5.115e-05/1.07, allocations: 110.8 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/1.07, allocations: 0.6562 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.737e-05/1.07, allocations: 46.69 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/1.07, allocations: 1.062 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.07, allocations: 0.5156 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.07, allocations: 1.125 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.494e-05/1.07, allocations: 148.9 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.07, allocations: 3.938 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/1.07, allocations: 2.062 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.07, allocations: 0.7969 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/1.07, allocations: 4.938 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.07, allocations: 4.031 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.07, allocations: 0.7969 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.76e-05/1.07, allocations: 65.58 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/1.07, allocations: 77.91 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/1.07, allocations: 5.562 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-06/1.07, allocations: 0 / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/1.07, allocations: 1.547 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/1.07, allocations: 4.031 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.785e-05/1.07, allocations: 76.34 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.07, allocations: 0 / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002107/1.07, allocations: 12.41 kB / 1.092 GB, free: 2.543 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.0002155/1.071, allocations: 115.9 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.958e-05/1.071, allocations: 12.64 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.071, allocations: 0 / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-06/1.071, allocations: 2.922 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/1.071, allocations: 1.875 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001752/1.071, allocations: 109.3 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/1.071, allocations: 0.6713 MB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/1.071, allocations: 8.469 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.071, allocations: 0 / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of Templates: time 0.002345/1.074, allocations: 0.5518 MB / 1.093 GB, free: 1.578 MB / 0.8575 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 -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