Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005966/0.005967, allocations: 100.3 kB / 15.73 MB, free: 6 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.001443/0.001444, allocations: 195.4 kB / 16.67 MB, free: 5.918 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.39/1.39, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.556/2.556, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8904/0.8916, allocations: 157.4 MB / 1.208 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002132/0.8938, allocations: 0.5752 MB / 1.208 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0006466/0.8945, allocations: 201.2 kB / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.639e-05/0.8945, allocations: 0 / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.8945, allocations: 0 / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.878e-06/0.8945, allocations: 0 / 1.209 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.8951, allocations: 51.84 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.8951, allocations: 4 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.8952, allocations: 7.984 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.8952, allocations: 0 / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.211e-05/0.8953, allocations: 3.984 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.8953, allocations: 3.938 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.8955, allocations: 55.95 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.8955, allocations: 3.984 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.8955, allocations: 3.938 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.8957, allocations: 35.95 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.8957, allocations: 3.984 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8957, allocations: 0 / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.8957, allocations: 4 kB / 1.209 GB, free: 12.79 MB / 0.9356 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.0004281/0.8962, allocations: 319.6 kB / 1.209 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.8962, allocations: 11.97 kB / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.8963, allocations: 0.9375 kB / 1.209 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.8964, allocations: 164.4 kB / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.8964, allocations: 384 / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.8965, allocations: 4.375 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.8966, allocations: 30.27 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.8966, allocations: 8.172 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.8966, allocations: 3.938 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.8966, allocations: 0 / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.422e-05/0.8966, allocations: 4 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.8968, allocations: 141.7 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/0.8969, allocations: 22.5 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.8969, allocations: 8.953 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008137/0.8977, allocations: 457.5 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.8978, allocations: 38.55 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.8978, allocations: 0 / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001405/0.8979, allocations: 37.64 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.898, allocations: 63.47 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.712e-05/0.8981, allocations: 89.86 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.8981, allocations: 25.7 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.8981, allocations: 80.14 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.8982, allocations: 0 / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.8982, allocations: 9.719 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.8984, allocations: 322.8 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.338e-06/0.8984, allocations: 3.938 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-06/0.8984, allocations: 4 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.8984, allocations: 12.86 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8984, allocations: 0 / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.781e-05/0.8985, allocations: 33.61 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.8985, allocations: 13.5 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.8985, allocations: 0 / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.8986, allocations: 3.938 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.453e-05/0.8986, allocations: 0 / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.8986, allocations: 3.984 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.424e-05/0.8986, allocations: 8.078 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.8987, allocations: 4 kB / 1.211 GB, free: 10.59 MB / 0.9356 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.507e-05/0.8987, allocations: 105.8 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-06/0.8987, allocations: 0 / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.674e-05/0.8988, allocations: 40.77 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.8988, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8988, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.8989, allocations: 3.984 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.899, allocations: 145.7 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.899, allocations: 4.031 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.214e-05/0.899, allocations: 0 / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.899, allocations: 3.938 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.8991, allocations: 3.938 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8991, allocations: 4 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8991, allocations: 0 / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.897e-05/0.8991, allocations: 57.12 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.912e-05/0.8992, allocations: 77.14 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.8992, allocations: 7.938 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.198e-06/0.8992, allocations: 4 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.8992, allocations: 0 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.8992, allocations: 4 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.8993, allocations: 75.28 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8993, allocations: 0 / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000221/0.8995, allocations: 15.98 kB / 1.211 GB, free: 9.941 MB / 0.9356 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.0002134/0.8997, allocations: 119.2 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.382e-05/0.8998, allocations: 11.94 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8998, allocations: 0 / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.977e-06/0.8998, allocations: 7.984 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.9, allocations: 0 / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001802/0.9001, allocations: 87.45 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.9004, allocations: 0.669 MB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.068e-05/0.9004, allocations: 3.938 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.161e-05/0.9004, allocations: 7.438 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9004, allocations: 0 / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.002568/0.903, allocations: 420.5 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches