Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_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_9_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.001444/0.001444, allocations: 102.3 kB / 16.4 MB, free: 6.406 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.001473/0.001473, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.413/1.413, 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.363/2.363, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 67.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9937/0.9953, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001893/0.9972, allocations: 0.5812 MB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005119/0.9978, allocations: 194.4 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.414e-05/0.9978, allocations: 0.9688 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.9978, allocations: 0 / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.275e-06/0.9978, allocations: 3.938 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.9983, allocations: 56.09 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.9984, allocations: 2.406 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.9984, allocations: 1.797 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.9984, allocations: 5.078 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.132e-05/0.9985, allocations: 0 / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.9985, allocations: 0 / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.9987, allocations: 62.89 kB / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.9987, allocations: 0 / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.9987, allocations: 0 / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.9989, allocations: 39.97 kB / 1.09 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.9989, allocations: 5.812 kB / 1.09 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9989, allocations: 3.938 kB / 1.09 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.9989, allocations: 0 / 1.09 GB, free: 4.945 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.0002904/0.9992, allocations: 321.4 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.9992, allocations: 10.55 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.9993, allocations: 0.9375 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.932e-05/0.9993, allocations: 161.8 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.9994, allocations: 1.75 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.9994, allocations: 4.312 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.314e-05/0.9995, allocations: 37.19 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.9995, allocations: 192 / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.9995, allocations: 4.734 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.9995, allocations: 1.125 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.966e-05/0.9995, allocations: 0.9375 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.9997, allocations: 148.7 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.121e-05/0.9997, allocations: 16.73 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.9997, allocations: 6.578 kB / 1.09 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006837/1, allocations: 462.4 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/1, allocations: 36.67 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/1, allocations: 0 / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001291/1.001, allocations: 35.03 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/1.001, allocations: 56.12 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.179e-05/1.001, allocations: 93.86 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/1.001, allocations: 26.97 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.34e-05/1.001, allocations: 80.14 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/1.001, allocations: 0.7812 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/1.001, allocations: 12.25 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.042e-05/1.001, allocations: 312.5 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-06/1.001, allocations: 1.5 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/1.001, allocations: 5.156 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/1.001, allocations: 16.59 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.001, allocations: 0 / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.433e-05/1.001, allocations: 31.95 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/1.001, allocations: 5.953 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/1.001, allocations: 0 / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.001, allocations: 4.594 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.953e-05/1.001, allocations: 2.125 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/1.001, allocations: 8.641 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/1.001, allocations: 0.8125 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/1.001, allocations: 0 / 1.091 GB, free: 2.898 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 4.659e-05/1.001, allocations: 109 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/1.001, allocations: 0.7031 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/1.001, allocations: 46.92 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.001, allocations: 5.031 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.001, allocations: 7.938 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.001, allocations: 1.281 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.499e-05/1.001, allocations: 148.1 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/1.001, allocations: 1.438 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.051e-05/1.001, allocations: 1.25 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.001, allocations: 0.5625 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/1.001, allocations: 4.938 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.001, allocations: 0.6562 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.001, allocations: 0.8438 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.633e-05/1.001, allocations: 72.77 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/1.001, allocations: 77.81 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/1.001, allocations: 5.625 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/1.001, allocations: 1.25 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/1.001, allocations: 0.6094 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/1.001, allocations: 1.188 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.471e-05/1.001, allocations: 75.28 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/1.001, allocations: 0 / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002439/1.002, allocations: 15.53 kB / 1.092 GB, free: 2.273 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.000246/1.002, allocations: 120.8 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.206e-05/1.002, allocations: 5.078 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/1.002, allocations: 0 / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-05/1.002, allocations: 6.156 kB / 1.092 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/1.002, allocations: 5.188 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001701/1.002, allocations: 109.8 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/1.003, allocations: 0.6712 MB / 1.093 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/1.003, allocations: 8.781 kB / 1.093 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/1.003, allocations: 0 / 1.093 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.002115/1.005, allocations: 0.5532 MB / 1.093 GB, free: 17.31 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches