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.001153/0.001153, allocations: 109.9 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.001056/0.001056, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.368/1.368, 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 9.1.3-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001659, allocations: 59.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.05, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002407/1.053, allocations: 0.586 MB / 1.089 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005958/1.053, allocations: 185.7 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/1.053, allocations: 0 / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.108e-05/1.053, allocations: 0 / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.063e-05/1.053, allocations: 3.938 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/1.054, allocations: 58.08 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.446e-05/1.054, allocations: 5.047 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/1.054, allocations: 2.016 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/1.054, allocations: 1.594 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.393e-05/1.054, allocations: 3.938 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/1.054, allocations: 1.125 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/1.054, allocations: 55.25 kB / 1.09 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-06/1.054, allocations: 0 / 1.09 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/1.054, allocations: 1.516 kB / 1.09 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/1.055, allocations: 35.2 kB / 1.09 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.055, allocations: 4 kB / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/1.055, allocations: 1 kB / 1.09 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.055, allocations: 0 / 1.09 GB, free: 4.969 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.0002645/1.055, allocations: 324.3 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/1.055, allocations: 9.625 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/1.055, allocations: 0.9375 kB / 1.09 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.188e-05/1.055, allocations: 162.9 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/1.055, allocations: 384 / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/1.055, allocations: 384 / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/1.055, allocations: 37.56 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/1.055, allocations: 192 / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/1.055, allocations: 4.75 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/1.055, allocations: 3.938 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/1.055, allocations: 2.781 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001094/1.055, allocations: 148.7 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.18e-05/1.055, allocations: 24.73 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/1.055, allocations: 6.797 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006356/1.056, allocations: 452.5 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/1.056, allocations: 36.3 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/1.056, allocations: 1.188 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001349/1.056, allocations: 35.12 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/1.056, allocations: 60.17 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.261e-05/1.056, allocations: 90.89 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/1.056, allocations: 25.7 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.216e-05/1.056, allocations: 80.14 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/1.056, allocations: 1.578 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/1.056, allocations: 15.59 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.156e-05/1.056, allocations: 312.9 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-06/1.056, allocations: 0 / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-06/1.056, allocations: 5.922 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.693e-05/1.056, allocations: 8.266 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.056, allocations: 0 / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.618e-05/1.057, allocations: 37.34 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.057, allocations: 4.438 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.057, allocations: 0.8906 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/1.057, allocations: 5.062 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.876e-05/1.057, allocations: 1.094 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/1.057, allocations: 6.125 kB / 1.091 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-06/1.057, allocations: 4 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/1.057, allocations: 0.9688 kB / 1.091 GB, free: 2.914 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.155e-05/1.057, allocations: 111.9 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/1.057, allocations: 1.125 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/1.057, allocations: 38.97 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/1.057, allocations: 0 / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.057, allocations: 1.094 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.057, allocations: 8.484 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.614e-05/1.057, allocations: 148.2 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/1.057, allocations: 0 / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/1.057, allocations: 6.781 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/1.057, allocations: 0 / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/1.057, allocations: 9.578 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.057, allocations: 0 / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.057, allocations: 1.25 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.42e-05/1.057, allocations: 61.06 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/1.057, allocations: 81.66 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/1.057, allocations: 5.953 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-06/1.057, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/1.057, allocations: 1.812 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/1.057, allocations: 0 / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.603e-05/1.057, allocations: 80.31 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/1.057, allocations: 0 / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002202/1.057, allocations: 11.89 kB / 1.092 GB, free: 2.297 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.0001992/1.058, allocations: 124.6 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.34e-05/1.058, allocations: 7.625 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.058, allocations: 1.031 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.615e-06/1.058, allocations: 2.641 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/1.058, allocations: 3.531 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001708/1.058, allocations: 110.4 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/1.058, allocations: 0.6717 MB / 1.093 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/1.058, allocations: 7.438 kB / 1.093 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.058, allocations: 1.156 kB / 1.093 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.002221/1.06, allocations: 0.5474 MB / 1.093 GB, free: 17.33 MB / 0.8731 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