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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008399/0.00084, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005259/0.005259, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.553/1.553, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.515/2.515, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004201, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8483/0.8488, allocations: 142.4 MB / 0.9551 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007809/0.8496, allocations: 323.6 kB / 0.9554 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005148/0.8501, allocations: 187.2 kB / 0.9555 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.092e-05/0.8502, allocations: 0 / 0.9555 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.8502, allocations: 1.062 kB / 0.9555 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.8502, allocations: 0 / 0.9555 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.8506, allocations: 43.48 kB / 0.9556 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.308e-05/0.8506, allocations: 1.156 kB / 0.9556 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.8507, allocations: 5.219 kB / 0.9556 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.566e-05/0.8507, allocations: 0 / 0.9556 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.675e-05/0.8507, allocations: 1.188 kB / 0.9556 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.8507, allocations: 0 / 0.9556 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.8509, allocations: 64.94 kB / 0.9557 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.786e-06/0.851, allocations: 0 / 0.9557 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.851, allocations: 30.84 kB / 0.9557 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.8511, allocations: 32.33 kB / 0.9557 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8511, allocations: 0 / 0.9557 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8511, allocations: 0 / 0.9557 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.8511, allocations: 5.25 kB / 0.9557 GB, free: 7.152 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.0002381/0.8514, allocations: 323.1 kB / 0.956 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.8514, allocations: 10.31 kB / 0.956 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.8515, allocations: 0.9375 kB / 0.956 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.542e-05/0.8516, allocations: 164.4 kB / 0.9562 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.8516, allocations: 1.5 kB / 0.9562 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.8516, allocations: 384 / 0.9562 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.8517, allocations: 28.67 kB / 0.9562 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.8517, allocations: 192 / 0.9562 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.8517, allocations: 7.938 kB / 0.9562 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.8518, allocations: 5.438 kB / 0.9562 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.8518, allocations: 0 / 0.9562 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.8519, allocations: 147.2 kB / 0.9564 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.852, allocations: 21.5 kB / 0.9564 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.515e-05/0.852, allocations: 4.859 kB / 0.9564 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/0.8527, allocations: 461 kB / 0.9568 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.8527, allocations: 32 kB / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.8527, allocations: 0 / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.8529, allocations: 42.53 kB / 0.9569 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.8529, allocations: 51.41 kB / 0.957 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.643e-05/0.853, allocations: 93.98 kB / 0.957 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.853, allocations: 26.89 kB / 0.9571 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.693e-05/0.853, allocations: 80.14 kB / 0.9572 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.853, allocations: 5.125 kB / 0.9572 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.8531, allocations: 13.72 kB / 0.9572 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.393e-05/0.8531, allocations: 310.8 kB / 0.9575 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-06/0.8531, allocations: 1.188 kB / 0.9575 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.8531, allocations: 1 kB / 0.9575 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.8532, allocations: 16.2 kB / 0.9575 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8532, allocations: 0 / 0.9575 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.762e-05/0.8532, allocations: 34.34 kB / 0.9575 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.8533, allocations: 5.406 kB / 0.9575 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.8533, allocations: 1.469 kB / 0.9575 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.8533, allocations: 3.938 kB / 0.9575 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.991e-05/0.8533, allocations: 1.438 kB / 0.9575 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.8534, allocations: 0 / 0.9575 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/0.8534, allocations: 9.391 kB / 0.9575 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.8534, allocations: 0 / 0.9575 GB, free: 5.062 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 4.796e-05/0.8534, allocations: 115.2 kB / 0.9576 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-06/0.8534, allocations: 0 / 0.9576 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.8535, allocations: 45.59 kB / 0.9577 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8535, allocations: 0 / 0.9577 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.8535, allocations: 0.9375 kB / 0.9577 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8536, allocations: 0 / 0.9577 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.762e-05/0.8536, allocations: 147.1 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8536, allocations: 0 / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.585e-05/0.8536, allocations: 5.875 kB / 0.9578 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.8536, allocations: 8.031 kB / 0.9578 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.8537, allocations: 5.219 kB / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8537, allocations: 0 / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8537, allocations: 1.5 kB / 0.9579 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.26e-05/0.8537, allocations: 50.55 kB / 0.9579 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.8538, allocations: 85.03 kB / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.8538, allocations: 4.906 kB / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.144e-06/0.8538, allocations: 4.031 kB / 0.958 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.8538, allocations: 1.125 kB / 0.958 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.8538, allocations: 0 / 0.958 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.356e-05/0.8538, allocations: 84.31 kB / 0.9581 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8538, allocations: 0 / 0.9581 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000208/0.854, allocations: 11.41 kB / 0.9581 GB, free: 4.434 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.0002022/0.8542, allocations: 124.8 kB / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.8543, allocations: 4.438 kB / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8543, allocations: 0 / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.8543, allocations: 2.125 kB / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.8545, allocations: 2.531 kB / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001611/0.8547, allocations: 83.47 kB / 0.9583 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.8548, allocations: 0.6705 MB / 0.9589 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.167e-05/0.8548, allocations: 4.125 kB / 0.9589 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.049e-05/0.8548, allocations: 8.562 kB / 0.959 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8548, allocations: 0 / 0.959 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of Templates: time 0.00283/0.8577, allocations: 397.4 kB / 0.9593 GB, free: 3.32 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/jenkins/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