Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006591/0.006591, allocations: 99.45 kB / 15.73 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.001487/0.001487, allocations: 193.2 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.474/2.474, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 59.89 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8512/0.8526, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003521/0.8562, allocations: 1.435 MB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006727/0.8569, allocations: 262.5 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.8569, allocations: 0 / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.837e-05/0.857, allocations: 0 / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/0.8571, allocations: 3.938 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005168/0.8576, allocations: 69.3 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.542e-05/0.8577, allocations: 19.94 kB / 1.168 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.8578, allocations: 7.984 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.8579, allocations: 15.94 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.8579, allocations: 11.92 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.858, allocations: 0 / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.8582, allocations: 63.92 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.8582, allocations: 4 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.8582, allocations: 7.938 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.8584, allocations: 51.44 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.8584, allocations: 7.922 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8584, allocations: 3.938 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.8585, allocations: 0 / 1.169 GB, free: 1.844 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005105/0.859, allocations: 348.4 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.859, allocations: 12.92 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.8591, allocations: 0.9375 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.8592, allocations: 164.3 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.8592, allocations: 4.375 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.8592, allocations: 384 / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.8594, allocations: 50.23 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.8595, allocations: 192 / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.8595, allocations: 7.938 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.8595, allocations: 0 / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.8597, allocations: 35.95 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.86, allocations: 252.9 kB / 1.169 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.8601, allocations: 38.48 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.342e-05/0.8602, allocations: 24.91 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.861, allocations: 461.5 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.861, allocations: 34.56 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.861, allocations: 0 / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003341/0.8613, allocations: 81.58 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.8614, allocations: 55.41 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.8615, allocations: 97.84 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.8615, allocations: 25.7 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.8615, allocations: 84.27 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.8616, allocations: 19.88 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.8616, allocations: 9.719 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.8617, allocations: 314.8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.8618, allocations: 15.98 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-05/0.8619, allocations: 19.97 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.8621, allocations: 40.89 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8621, allocations: 3.938 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001948/0.8623, allocations: 69.55 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.8623, allocations: 8 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.8623, allocations: 4 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.8623, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.8624, allocations: 11.94 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.8625, allocations: 8.016 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.8625, allocations: 4 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.8625, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 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 (2): * Single equations (assignments): 2 * 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.731e-05/0.8626, allocations: 109.8 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.8626, allocations: 8 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.8629, allocations: 72.7 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.8629, allocations: 4.031 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8629, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.8629, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.8631, allocations: 157.6 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8631, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.8631, allocations: 11.98 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8631, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.8632, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8632, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8632, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.8634, allocations: 171.4 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.8635, allocations: 85.06 kB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.8635, allocations: 0 / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.8636, allocations: 11.92 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.8636, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.8636, allocations: 0 / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.879e-05/0.8637, allocations: 91.3 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8637, allocations: 0 / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002476/0.8639, allocations: 15.94 kB / 1.171 GB, free: 14.44 MB / 0.9044 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 (2): * Single equations (assignments): 2 * 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.0001937/0.8641, allocations: 115.2 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.8644, allocations: 35.97 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.8644, allocations: 0 / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.8645, allocations: 19.98 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.8647, allocations: 11.86 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.8649, allocations: 101.5 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.8652, allocations: 0.6808 MB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.352e-05/0.8652, allocations: 4 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.8653, allocations: 7.438 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.8653, allocations: 3.938 kB / 1.172 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of Templates: time 0.002956/0.8682, allocations: 0.6708 MB / 1.173 GB, free: 12.73 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches