Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_11_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.001577/0.001577, allocations: 116.2 kB / 16.81 MB, free: 5.758 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.001344/0.001344, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.534/1.534, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.974/2.974, allocations: 476.7 MB / 0.7556 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 64.69 kB / 1.097 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4059, allocations: 168.7 MB / 1.262 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003155/0.4091, allocations: 1.45 MB / 1.263 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.4098, allocations: 255.5 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.4098, allocations: 0 / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.4099, allocations: 11.94 kB / 1.264 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.4099, allocations: 3.938 kB / 1.264 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.4103, allocations: 55.81 kB / 1.264 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.98e-05/0.4104, allocations: 19.98 kB / 1.264 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.4105, allocations: 4 kB / 1.264 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.4106, allocations: 11.92 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.4106, allocations: 11.98 kB / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.4106, allocations: 0 / 1.264 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.4108, allocations: 63.89 kB / 1.264 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.4108, allocations: 15.91 kB / 1.264 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.4108, allocations: 8 kB / 1.264 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.411, allocations: 59.73 kB / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.411, allocations: 0 / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.411, allocations: 0 / 1.264 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.411, allocations: 0 / 1.264 GB, free: 10.89 MB / 0.9825 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.0005821/0.4116, allocations: 343.4 kB / 1.264 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.4116, allocations: 16.02 kB / 1.264 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.4117, allocations: 4.891 kB / 1.264 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.4118, allocations: 164.3 kB / 1.264 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4119, allocations: 8.375 kB / 1.264 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.4119, allocations: 384 / 1.264 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.4121, allocations: 54.17 kB / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.4121, allocations: 192 / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4121, allocations: 3.938 kB / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4121, allocations: 0 / 1.265 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.4123, allocations: 39.89 kB / 1.265 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.4126, allocations: 245 kB / 1.265 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.4128, allocations: 38.5 kB / 1.265 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.4129, allocations: 24.89 kB / 1.265 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/0.4137, allocations: 453.5 kB / 1.265 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.4137, allocations: 42.55 kB / 1.265 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4137, allocations: 0 / 1.265 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003665/0.4141, allocations: 77.69 kB / 1.265 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.4142, allocations: 59.39 kB / 1.265 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.4143, allocations: 101.8 kB / 1.266 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.4143, allocations: 25.7 kB / 1.266 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.4144, allocations: 84.09 kB / 1.266 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.4144, allocations: 7.953 kB / 1.266 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.4144, allocations: 17.7 kB / 1.266 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002176/0.4147, allocations: 310.8 kB / 1.266 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.4147, allocations: 24.02 kB / 1.266 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.4148, allocations: 11.98 kB / 1.266 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.415, allocations: 40.81 kB / 1.266 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.415, allocations: 3.938 kB / 1.266 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001872/0.4151, allocations: 69.67 kB / 1.266 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4152, allocations: 8 kB / 1.266 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4152, allocations: 3.984 kB / 1.266 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.4152, allocations: 0 / 1.266 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.915e-05/0.4153, allocations: 4 kB / 1.266 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4153, allocations: 0 / 1.266 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.4153, allocations: 7.984 kB / 1.266 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.4153, allocations: 4 kB / 1.266 GB, free: 8.324 MB / 0.9825 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 9.282e-05/0.4154, allocations: 110.7 kB / 1.266 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.4155, allocations: 3.938 kB / 1.266 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.4157, allocations: 80.91 kB / 1.266 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.4157, allocations: 7.969 kB / 1.266 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.4157, allocations: 0 / 1.266 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.4158, allocations: 81.05 kB / 1.266 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.4158, allocations: 0 / 1.266 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.4158, allocations: 4.031 kB / 1.266 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.4159, allocations: 11.98 kB / 1.266 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003323/0.4162, allocations: 148.9 kB / 1.267 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002846/0.4165, allocations: 242.7 kB / 1.267 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.641e-05/0.4166, allocations: 15.98 kB / 1.267 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.4166, allocations: 83.27 kB / 1.267 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of Backend: time 2.21e-07/0.4166, allocations: 0 / 1.267 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005669/0.4172, allocations: 120.4 kB / 1.267 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006318/0.4178, allocations: 0.5453 MB / 1.268 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of Templates: time 0.00369/0.4215, allocations: 0.7614 MB / 1.268 GB, free: 6.016 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches