Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008509/0.008509, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001543/0.001543, allocations: 190.7 kB / 16.67 MB, free: 5.969 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.514/2.514, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.84 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8493/0.8507, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001752/0.8525, allocations: 0.5766 MB / 1.167 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004898/0.853, allocations: 201.2 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.56e-05/0.853, allocations: 4 kB / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.172e-05/0.853, allocations: 0 / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.683e-06/0.8531, allocations: 0 / 1.167 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.8534, allocations: 51.84 kB / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.095e-05/0.8535, allocations: 0 / 1.167 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.8535, allocations: 3.984 kB / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.8536, allocations: 7.984 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.953e-05/0.8536, allocations: 0 / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.8536, allocations: 0 / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.8538, allocations: 59.89 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.8538, allocations: 3.938 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.499e-05/0.8538, allocations: 4 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.8539, allocations: 35.94 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8539, allocations: 0 / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8539, allocations: 0 / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.854, allocations: 0 / 1.168 GB, free: 2.91 MB / 0.8887 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.0003328/0.8543, allocations: 324.1 kB / 1.168 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.8543, allocations: 8.031 kB / 1.168 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.8544, allocations: 0.9375 kB / 1.168 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.8545, allocations: 168.3 kB / 1.168 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.8545, allocations: 4.375 kB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.8545, allocations: 384 / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.8546, allocations: 42.19 kB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.8546, allocations: 192 / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.8546, allocations: 3.938 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8546, allocations: 0 / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.8547, allocations: 0 / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.8548, allocations: 145.7 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.831e-05/0.8549, allocations: 18.58 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.8549, allocations: 19.41 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007039/0.8556, allocations: 449.5 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.8556, allocations: 42.42 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.8556, allocations: 4 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.8558, allocations: 41.59 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.8558, allocations: 51.41 kB / 1.169 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.203e-05/0.8559, allocations: 89.86 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.8559, allocations: 29.7 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.613e-05/0.8559, allocations: 84.08 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.8559, allocations: 0 / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.856, allocations: 9.719 kB / 1.169 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.8561, allocations: 315 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.8561, allocations: 7.984 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.8561, allocations: 7.938 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.348e-05/0.8561, allocations: 12.86 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8561, allocations: 0 / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.602e-05/0.8562, allocations: 29.7 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.8562, allocations: 4 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.8562, allocations: 0 / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.8562, allocations: 12.03 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.8563, allocations: 0 / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.8563, allocations: 0 / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-06/0.8563, allocations: 0 / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.8563, allocations: 3.984 kB / 1.169 GB, free: 0.7109 MB / 0.8887 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.348e-05/0.8564, allocations: 109.8 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-06/0.8564, allocations: 0 / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/0.8565, allocations: 44.7 kB / 1.17 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.8565, allocations: 4.031 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8565, allocations: 0 / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8565, allocations: 0 / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.653e-05/0.8566, allocations: 145.7 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.8566, allocations: 4 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-06/0.8566, allocations: 0 / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.8566, allocations: 0 / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.8566, allocations: 3.938 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8566, allocations: 0 / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.8566, allocations: 0 / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.117e-05/0.8567, allocations: 69.06 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.8567, allocations: 77.11 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.8568, allocations: 3.938 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-06/0.8568, allocations: 0 / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.8568, allocations: 4 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.8568, allocations: 0 / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.93e-05/0.8568, allocations: 75.28 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8568, allocations: 7.875 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001899/0.857, allocations: 16.03 kB / 1.17 GB, free: 52 kB / 0.8887 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.0002196/0.8573, allocations: 119.2 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.576e-05/0.8573, allocations: 8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8573, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.007e-05/0.8574, allocations: 15.94 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.8575, allocations: 2.656 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.8577, allocations: 72.94 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.8579, allocations: 0.6729 MB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.107e-05/0.8579, allocations: 4 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/0.8579, allocations: 7.438 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.8579, allocations: 0 / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.002174/0.8601, allocations: 424.5 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches