Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001382/0.001382, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001502/0.001502, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.882/2.882, allocations: 461.8 MB / 0.7343 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 66.64 kB / 0.8986 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.356, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002126/0.3581, allocations: 0.6502 MB / 1.053 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005127/0.3587, allocations: 203.3 kB / 1.053 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.008e-05/0.3587, allocations: 4 kB / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.3587, allocations: 0 / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.24e-06/0.3588, allocations: 0 / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.3592, allocations: 51.8 kB / 1.053 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.469e-05/0.3592, allocations: 4 kB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.3592, allocations: 0 / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.49e-05/0.3593, allocations: 3.938 kB / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.997e-05/0.3593, allocations: 0 / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.231e-06/0.3593, allocations: 0 / 1.053 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3595, allocations: 71.86 kB / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.134e-06/0.3595, allocations: 0 / 1.053 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.3595, allocations: 4 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.3597, allocations: 35.94 kB / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3597, allocations: 0 / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3597, allocations: 0 / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3597, allocations: 0 / 1.053 GB, free: 7.656 MB / 0.8106 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.0003249/0.36, allocations: 319.6 kB / 1.054 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3601, allocations: 8.625 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3601, allocations: 0.9375 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/0.3602, allocations: 164.3 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.3602, allocations: 4.375 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3602, allocations: 8.375 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.596e-05/0.3603, allocations: 26.27 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.3603, allocations: 192 / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3604, allocations: 3.938 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3604, allocations: 0 / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.3604, allocations: 4 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.3605, allocations: 145.7 kB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.378e-05/0.3606, allocations: 30.45 kB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.3606, allocations: 12.89 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008945/0.3615, allocations: 453.5 kB / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.3615, allocations: 34.56 kB / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.3616, allocations: 0 / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.3617, allocations: 37.64 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3618, allocations: 55.41 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.466e-05/0.3618, allocations: 93.84 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3618, allocations: 25.7 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.3619, allocations: 84.08 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.3619, allocations: 0 / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.3619, allocations: 9.719 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3621, allocations: 319 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-06/0.3621, allocations: 0 / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.3621, allocations: 4 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.3621, allocations: 8.859 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3621, allocations: 0 / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.432e-05/0.3622, allocations: 33.69 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3622, allocations: 4 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3622, allocations: 4.094 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.3622, allocations: 7.938 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.113e-05/0.3623, allocations: 3.938 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3623, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.533e-05/0.3623, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.3623, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 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.125e-05/0.3624, allocations: 109.8 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.3624, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.3625, allocations: 44.75 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3625, allocations: 8.016 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3626, allocations: 4 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.3626, allocations: 0 / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.825e-05/0.3627, allocations: 145.7 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3627, allocations: 0 / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.3627, allocations: 3.984 kB / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3627, allocations: 0 / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.3627, allocations: 3.938 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3627, allocations: 0 / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3627, allocations: 11.88 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.166e-05/0.3628, allocations: 57.14 kB / 1.055 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.353e-05/0.3629, allocations: 77.11 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3629, allocations: 7.922 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.263e-06/0.3629, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-06/0.3629, allocations: 7.938 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.3629, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.572e-05/0.3629, allocations: 75.28 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3629, allocations: 0 / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002051/0.3632, allocations: 20.03 kB / 1.056 GB, free: 4.809 MB / 0.8106 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.0002119/0.3634, allocations: 111.2 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.3635, allocations: 15.94 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3635, allocations: 0 / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.106e-06/0.3635, allocations: 8.062 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.3636, allocations: 6.188 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/0.3638, allocations: 80.84 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3641, allocations: 0.6729 MB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.125e-05/0.3641, allocations: 0 / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.286e-05/0.3641, allocations: 7.438 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of SimCode: time 4.3e-07/0.3641, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of Templates: time 0.002602/0.3667, allocations: 409.2 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches