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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009229/0.0009227, allocations: 92.16 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.001388/0.001388, allocations: 182.9 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.464/1.464, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.622/2.622, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 12 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6901/0.6905, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0006796/0.6912, allocations: 325.6 kB / 1.024 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005672/0.6918, allocations: 199.4 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.285e-05/0.6919, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.6919, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-06/0.6919, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.6923, allocations: 43.89 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.747e-05/0.6924, allocations: 4 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.6925, allocations: 7.922 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.76e-05/0.6925, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.634e-05/0.6925, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.764e-06/0.6926, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.6928, allocations: 63.88 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.6928, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.6929, allocations: 33.64 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.693, allocations: 23.95 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.693, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.265e-06/0.693, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.693, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.7794 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.0003307/0.6933, allocations: 319.6 kB / 1.025 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.6934, allocations: 8.031 kB / 1.025 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.6934, allocations: 0.9375 kB / 1.025 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.297e-05/0.6935, allocations: 160.4 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6935, allocations: 8.375 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.6935, allocations: 384 / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.82e-05/0.6936, allocations: 30.25 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.6936, allocations: 192 / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.6937, allocations: 3.938 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.6937, allocations: 3.938 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.477e-05/0.6937, allocations: 4 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.6938, allocations: 149.7 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.176e-05/0.6939, allocations: 22.61 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.6939, allocations: 4.859 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007114/0.6946, allocations: 453.5 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.6947, allocations: 38.56 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.6947, allocations: 4 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001184/0.6948, allocations: 41.48 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.6948, allocations: 51.41 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.179e-05/0.6949, allocations: 89.86 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.6949, allocations: 25.7 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.6949, allocations: 80.14 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.6949, allocations: 3.984 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.695, allocations: 13.72 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.6951, allocations: 319 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-06/0.6951, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-06/0.6951, allocations: 3.938 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.6951, allocations: 12.8 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.6951, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.015e-05/0.6952, allocations: 29.7 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.6952, allocations: 8 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6952, allocations: 7.938 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6952, allocations: 12.02 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.743e-05/0.6953, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.6953, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-06/0.6953, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.6953, allocations: 7.984 kB / 1.026 GB, free: 13.01 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 6.499e-05/0.6954, allocations: 110.4 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.6954, allocations: 0 / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.815e-05/0.6955, allocations: 44.69 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6955, allocations: 4.031 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.6955, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.6955, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.126e-05/0.6956, allocations: 145.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6956, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.6956, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6956, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.6956, allocations: 3.938 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.6956, allocations: 7.984 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6956, allocations: 0 / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.183e-05/0.6957, allocations: 57.14 kB / 1.027 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.6958, allocations: 81.05 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.6958, allocations: 3.938 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-06/0.6958, allocations: 4 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.6958, allocations: 3.984 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.6958, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.519e-05/0.6958, allocations: 75.28 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6958, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001949/0.696, allocations: 20.03 kB / 1.027 GB, free: 12.36 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.0001887/0.6962, allocations: 115.2 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.731e-05/0.6963, allocations: 4 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.6963, allocations: 3.938 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.953e-06/0.6963, allocations: 4.062 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.6965, allocations: 4.062 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001745/0.6966, allocations: 100.3 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.6968, allocations: 0.6731 MB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.6969, allocations: 15.42 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6969, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of Templates: time 0.001731/0.6986, allocations: 0.5582 MB / 1.028 GB, free: 10.82 MB / 0.7794 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