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.00176/0.00176, allocations: 114 kB / 16.42 MB, free: 6.445 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.001672/0.001672, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.422/1.422, allocations: 222.9 MB / 241 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.58/2.58, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 71.88 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9562/0.9578, 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.001849/0.9597, allocations: 0.5827 MB / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005458/0.9602, allocations: 203.3 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.331e-05/0.9603, allocations: 0 / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.25e-05/0.9603, allocations: 0 / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-06/0.9603, allocations: 0 / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.9608, allocations: 51.84 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.9608, allocations: 0 / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.9609, allocations: 7.984 kB / 1.168 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.9609, allocations: 4 kB / 1.168 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.19e-05/0.9609, allocations: 3.984 kB / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.9609, allocations: 0 / 1.168 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.9612, allocations: 59.89 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.9612, allocations: 3.984 kB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.9612, allocations: 0 / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.9613, allocations: 35.89 kB / 1.168 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.9614, allocations: 3.984 kB / 1.168 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9614, allocations: 0 / 1.168 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.9614, allocations: 0 / 1.168 GB, free: 2.906 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.0003144/0.9617, allocations: 327.6 kB / 1.169 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.9617, allocations: 8.922 kB / 1.169 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.9618, allocations: 4.938 kB / 1.169 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.924e-05/0.9619, allocations: 164.4 kB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.9619, allocations: 384 / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.9619, allocations: 384 / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.962, allocations: 34.27 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.962, allocations: 192 / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.962, allocations: 7.875 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.9621, allocations: 0 / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.9621, allocations: 7.938 kB / 1.169 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.9622, allocations: 145.7 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.008e-05/0.9623, allocations: 18.56 kB / 1.169 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.9623, allocations: 15.42 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007951/0.9631, allocations: 457.5 kB / 1.169 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.9631, allocations: 30.56 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 2.454e-06/0.9632, allocations: 3.984 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.000141/0.9633, allocations: 41.58 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.9633, allocations: 51.41 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.359e-05/0.9634, allocations: 93.86 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.9634, allocations: 25.7 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.493e-05/0.9634, allocations: 84.27 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.9635, allocations: 0 / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.9635, allocations: 9.719 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.9636, allocations: 314.8 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.9636, allocations: 4 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.531e-06/0.9636, allocations: 0 / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.9637, allocations: 12.86 kB / 1.17 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9637, allocations: 11.94 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.355e-05/0.9637, allocations: 33.61 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.9638, allocations: 4 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.9638, allocations: 0 / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.9638, allocations: 7.938 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.9639, allocations: 0 / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.9639, allocations: 0 / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.9639, allocations: 3.984 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.9639, allocations: 0 / 1.17 GB, free: 0.707 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.338e-05/0.964, allocations: 116.1 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-06/0.964, allocations: 0 / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.829e-05/0.9641, allocations: 40.77 kB / 1.17 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.9641, allocations: 3.938 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9641, allocations: 0 / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.9641, allocations: 81.09 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.9641, allocations: 0 / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.9641, allocations: 4 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.9642, allocations: 0 / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.39e-05/0.9642, allocations: 109 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001156/0.9644, allocations: 210.7 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.637e-05/0.9644, allocations: 4 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.579e-05/0.9644, allocations: 75.28 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of Backend: time 3.11e-07/0.9644, allocations: 3.938 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.9649, allocations: 102.5 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003694/0.9653, allocations: 0.5253 MB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of Templates: time 0.002544/0.9678, allocations: 452.4 kB / 1.172 GB, free: 14.89 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