Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001015, allocations: 91.84 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 183.3 kB / 16.92 MB, free: 6.926 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.461/1.461, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.694/2.694, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8042/0.8046, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.000782/0.8055, allocations: 320 kB / 0.956 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005403/0.806, allocations: 183.2 kB / 0.9562 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.263e-05/0.8061, allocations: 1.219 kB / 0.9562 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.8061, allocations: 0 / 0.9562 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.759e-06/0.8061, allocations: 0 / 0.9562 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.8064, allocations: 43.2 kB / 0.9562 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.143e-05/0.8065, allocations: 8.75 kB / 0.9562 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.8065, allocations: 9.141 kB / 0.9563 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.8066, allocations: 1.156 kB / 0.9563 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.09e-05/0.8066, allocations: 0 / 0.9563 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.8066, allocations: 0 / 0.9563 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.8068, allocations: 58.23 kB / 0.9563 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.8069, allocations: 7.984 kB / 0.9563 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.8069, allocations: 25.7 kB / 0.9563 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.459e-05/0.807, allocations: 16.69 kB / 0.9564 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.807, allocations: 0 / 0.9564 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.807, allocations: 5.312 kB / 0.9564 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.807, allocations: 0 / 0.9564 GB, free: 7.254 MB / 0.7169 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.0002251/0.8073, allocations: 319.7 kB / 0.9567 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.8073, allocations: 12.62 kB / 0.9567 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.8074, allocations: 5.906 kB / 0.9567 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.457e-05/0.8074, allocations: 160.4 kB / 0.9568 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.8074, allocations: 1.344 kB / 0.9568 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.8075, allocations: 5.781 kB / 0.9568 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.796e-05/0.8075, allocations: 35.69 kB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.8076, allocations: 192 / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.8076, allocations: 3.938 kB / 0.9569 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.8076, allocations: 0 / 0.9569 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.777e-05/0.8076, allocations: 1.344 kB / 0.9569 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.8077, allocations: 143.1 kB / 0.957 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/0.8078, allocations: 21.45 kB / 0.957 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.8078, allocations: 9.891 kB / 0.9571 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00078/0.8086, allocations: 456.5 kB / 0.9575 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.8086, allocations: 31.44 kB / 0.9575 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.8086, allocations: 0 / 0.9575 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.8088, allocations: 38.77 kB / 0.9576 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.8088, allocations: 55.53 kB / 0.9576 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.103e-05/0.8088, allocations: 93.84 kB / 0.9577 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/0.8089, allocations: 27.27 kB / 0.9577 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.119e-05/0.8089, allocations: 80.14 kB / 0.9578 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.8089, allocations: 3.906 kB / 0.9578 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.809, allocations: 11.09 kB / 0.9578 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.977e-05/0.809, allocations: 310.8 kB / 0.9581 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.809, allocations: 5.094 kB / 0.9581 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.8091, allocations: 5.125 kB / 0.9581 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.69e-05/0.8091, allocations: 11.55 kB / 0.9581 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8091, allocations: 0 / 0.9581 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.544e-05/0.8092, allocations: 31.3 kB / 0.9582 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.8092, allocations: 8.328 kB / 0.9582 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8092, allocations: 9.156 kB / 0.9582 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.8092, allocations: 3.938 kB / 0.9582 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.405e-05/0.8093, allocations: 1.281 kB / 0.9582 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.8093, allocations: 5.516 kB / 0.9582 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.355e-05/0.8093, allocations: 4.031 kB / 0.9582 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.8093, allocations: 0 / 0.9582 GB, free: 5.156 MB / 0.7169 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 5.502e-05/0.8094, allocations: 114.9 kB / 0.9583 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.8094, allocations: 1.062 kB / 0.9583 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.858e-05/0.8095, allocations: 44.78 kB / 0.9583 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8095, allocations: 1.562 kB / 0.9583 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8095, allocations: 3.984 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.8096, allocations: 0 / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.352e-05/0.8096, allocations: 142.9 kB / 0.9585 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8096, allocations: 4.031 kB / 0.9585 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.8097, allocations: 2.875 kB / 0.9585 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.8097, allocations: 0 / 0.9585 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.8097, allocations: 7.922 kB / 0.9585 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8097, allocations: 1.375 kB / 0.9585 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.8097, allocations: 0 / 0.9585 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.03e-05/0.8098, allocations: 58.73 kB / 0.9586 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.8098, allocations: 81.14 kB / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.8098, allocations: 5.375 kB / 0.9586 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.8098, allocations: 3.984 kB / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.8099, allocations: 1.25 kB / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.8099, allocations: 0 / 0.9586 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.303e-05/0.8099, allocations: 75.28 kB / 0.9587 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8099, allocations: 1.438 kB / 0.9587 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003655/0.8103, allocations: 10.09 kB / 0.9587 GB, free: 4.535 MB / 0.7169 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.0002328/0.8105, allocations: 125.8 kB / 0.9588 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.295e-05/0.8106, allocations: 7.625 kB / 0.9589 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8106, allocations: 0 / 0.9589 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-06/0.8106, allocations: 6.344 kB / 0.9589 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.8108, allocations: 1.219 kB / 0.9589 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001633/0.811, allocations: 101.8 kB / 0.959 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.075e-05/0.8111, allocations: 0.6743 MB / 0.9596 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.8111, allocations: 7.438 kB / 0.9596 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.8111, allocations: 1.438 kB / 0.9596 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of Templates: time 0.00223/0.8134, allocations: 0.5442 MB / 0.9602 GB, free: 3.332 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches