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.001627/0.001627, allocations: 117.8 kB / 16.42 MB, free: 6.48 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.001918/0.001918, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.525/1.525, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.692/2.692, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9391/0.9407, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001991/0.9427, allocations: 0.5768 MB / 1.168 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005194/0.9432, allocations: 199.3 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.472e-05/0.9433, allocations: 0 / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.9433, allocations: 0 / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.674e-06/0.9433, allocations: 0 / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.9438, allocations: 55.83 kB / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.9438, allocations: 0 / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.9439, allocations: 7.922 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.9439, allocations: 4 kB / 1.168 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.045e-05/0.9439, allocations: 8 kB / 1.168 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.944, allocations: 0 / 1.168 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.9441, allocations: 55.92 kB / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.9442, allocations: 0 / 1.168 GB, free: 2.957 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.9442, allocations: 4 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.9443, allocations: 39.88 kB / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.9443, allocations: 0 / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.667e-06/0.9444, allocations: 0 / 1.168 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.9444, allocations: 3.938 kB / 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.0003203/0.9447, allocations: 316.1 kB / 1.169 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.9447, allocations: 12.92 kB / 1.169 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.9448, allocations: 4.938 kB / 1.169 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.9449, allocations: 172.3 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.9449, allocations: 384 / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.9449, allocations: 384 / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.652e-05/0.945, allocations: 26.27 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.945, allocations: 8.172 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.945, allocations: 3.938 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9451, allocations: 0 / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.807e-05/0.9451, allocations: 0 / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.9452, allocations: 145.7 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.623e-05/0.9453, allocations: 30.53 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.9453, allocations: 7.328 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008111/0.9461, allocations: 457.5 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.9462, allocations: 34.56 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.9462, allocations: 0 / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001466/0.9463, allocations: 45.53 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.9464, allocations: 51.41 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.007e-05/0.9464, allocations: 89.86 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.9464, allocations: 25.7 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.9465, allocations: 84.27 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.9465, allocations: 0 / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.9465, allocations: 13.72 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.9466, allocations: 318.8 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.9467, allocations: 7.938 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.9467, allocations: 4 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.494e-05/0.9467, allocations: 4.859 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.9467, allocations: 0 / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.435e-05/0.9468, allocations: 45.64 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.9468, allocations: 4 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.9468, allocations: 0 / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.9468, allocations: 3.938 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.469e-05/0.9469, allocations: 4 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.9469, allocations: 3.984 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-06/0.9469, allocations: 0 / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.9469, allocations: 0 / 1.17 GB, free: 0.7148 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.026e-05/0.947, allocations: 109.8 kB / 1.17 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-06/0.947, allocations: 4.031 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.397e-05/0.9471, allocations: 32.83 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9471, allocations: 7.938 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9471, allocations: 0 / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.483e-05/0.9471, allocations: 81.09 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-06/0.9472, allocations: 0 / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.9472, allocations: 0 / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.9472, allocations: 3.938 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.677e-05/0.9473, allocations: 113 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001235/0.9474, allocations: 206.8 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.786e-05/0.9474, allocations: 3.938 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.864e-05/0.9475, allocations: 75.28 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of Backend: time 4.31e-07/0.9475, allocations: 0 / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.9479, allocations: 104.8 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003403/0.9483, allocations: 0.5186 MB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of Templates: time 0.002529/0.9508, allocations: 452.5 kB / 1.172 GB, free: 14.91 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/jenkins1/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