Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0",fileNamePrefix="Buildings_10_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_10_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.001048/0.001048, allocations: 108 kB / 15.6 MB, free: 132 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.001102/0.001102, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.465/1.465, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.638/2.638, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6146/0.616, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001913/0.6179, allocations: 0.5763 MB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000443/0.6184, allocations: 179.4 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.123e-05/0.6184, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.428e-06/0.6185, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.348e-06/0.6185, allocations: 0 / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.6188, allocations: 51.83 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.444e-05/0.6189, allocations: 4 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.853e-05/0.6189, allocations: 4 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.465e-05/0.6189, allocations: 3.984 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.952e-05/0.619, allocations: 4 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.522e-06/0.619, allocations: 0 / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.6192, allocations: 59.88 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 7.825e-06/0.6192, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.6192, allocations: 7.938 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.6193, allocations: 31.94 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6193, allocations: 3.938 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6193, allocations: 4 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.6194, allocations: 0 / 1.018 GB, free: 1.578 MB / 0.7637 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.0002595/0.6196, allocations: 319.6 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.6197, allocations: 8.031 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.6197, allocations: 0.9375 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.72e-05/0.6198, allocations: 168.4 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.6198, allocations: 384 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.6198, allocations: 4.359 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.341e-05/0.6199, allocations: 30.2 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6199, allocations: 192 / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.6199, allocations: 3.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.6199, allocations: 8 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.669e-05/0.6199, allocations: 3.984 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.6201, allocations: 141.7 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.406e-05/0.6201, allocations: 22.61 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.6201, allocations: 4.859 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006762/0.6208, allocations: 461.4 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.6208, allocations: 38.5 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.6209, allocations: 0 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.000129/0.621, allocations: 37.64 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.621, allocations: 51.41 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.6e-05/0.6211, allocations: 89.86 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.6211, allocations: 29.83 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.794e-05/0.6211, allocations: 80.14 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.6212, allocations: 4 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.6212, allocations: 17.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/0.6213, allocations: 318.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-06/0.6213, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.448e-06/0.6213, allocations: 4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.875e-05/0.6214, allocations: 12.86 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6214, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.926e-05/0.6214, allocations: 33.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.6215, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6215, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6215, allocations: 3.938 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.042e-05/0.6215, allocations: 7.984 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.6215, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-06/0.6215, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-06/0.6216, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 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.503e-05/0.6216, allocations: 111.4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.6216, allocations: 8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.235e-05/0.6217, allocations: 48.62 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.6217, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6217, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.6217, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.883e-05/0.6218, allocations: 141.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.6218, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.6218, allocations: 4 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6218, allocations: 4.031 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.6219, allocations: 3.938 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6219, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6219, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.422e-05/0.6219, allocations: 65.06 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.622, allocations: 77.11 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.622, allocations: 3.938 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.622, allocations: 0 / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.622, allocations: 4.031 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.622, allocations: 7.984 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.453e-05/0.6221, allocations: 75.28 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6221, allocations: 4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001938/0.6223, allocations: 12 kB / 1.021 GB, free: 14.73 MB / 0.7794 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.0002225/0.6225, allocations: 125.4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.583e-05/0.6226, allocations: 7.984 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.6226, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.182e-06/0.6226, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.6227, allocations: 5.562 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.6229, allocations: 84.91 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.6231, allocations: 0.669 MB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.217e-05/0.6231, allocations: 4.125 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.274e-05/0.6231, allocations: 19.42 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6231, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of Templates: time 0.002406/0.6255, allocations: 404.4 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches