Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 100.1 kB / 15.88 MB, free: 12 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.001509/0.001509, allocations: 199.5 kB / 16.79 MB, free: 6.828 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.52 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.647/2.647, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 67.89 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6877, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003079/0.6908, allocations: 1.503 MB / 1.019 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005967/0.6914, allocations: 264 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.6915, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.6915, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.6916, allocations: 0 / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.6919, allocations: 43.91 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.692, allocations: 31.86 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.6921, allocations: 7.984 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.6921, allocations: 7.984 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.6922, allocations: 15.94 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.6922, allocations: 0 / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.6924, allocations: 67.88 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.6924, allocations: 0 / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.6924, allocations: 15.92 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.6925, allocations: 31.94 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6925, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6925, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.6926, allocations: 0 / 1.019 GB, free: 0.8242 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004581/0.693, allocations: 349.5 kB / 1.02 GB, free: 444 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.6931, allocations: 8.031 kB / 1.02 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.6931, allocations: 8.938 kB / 1.02 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.6932, allocations: 168.3 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.6933, allocations: 4.312 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.6933, allocations: 384 / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.6935, allocations: 50.23 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.6935, allocations: 192 / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.6935, allocations: 3.938 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.6935, allocations: 8 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.6937, allocations: 27.97 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.6943, allocations: 252.9 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.6945, allocations: 42.44 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.6946, allocations: 24.91 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009597/0.6955, allocations: 457.5 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.6956, allocations: 30.56 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.6956, allocations: 4 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003964/0.696, allocations: 81.64 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.6961, allocations: 55.34 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/0.6962, allocations: 105.8 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6962, allocations: 25.7 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.6963, allocations: 88.08 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.6963, allocations: 8.031 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/0.6963, allocations: 13.72 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6965, allocations: 318.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.6966, allocations: 11.98 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.139e-05/0.6967, allocations: 19.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.6968, allocations: 36.89 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6968, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002181/0.697, allocations: 77.44 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.6971, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6971, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.6971, allocations: 4.188 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.6972, allocations: 7.984 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.6972, allocations: 4.031 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.6973, allocations: 7.984 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.6973, allocations: 0 / 1.021 GB, free: 14.25 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 (2): * Single equations (assignments): 2 * 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 0.000108/0.6974, allocations: 118.3 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.6975, allocations: 3.984 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.6977, allocations: 68.78 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6977, allocations: 4.031 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.6977, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6978, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.698, allocations: 165.6 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.698, allocations: 3.938 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.698, allocations: 8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.698, allocations: 3.984 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.6981, allocations: 4 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.6981, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6981, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.6984, allocations: 167.5 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.6984, allocations: 77.11 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.6984, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.6985, allocations: 7.984 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.6986, allocations: 4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.6986, allocations: 3.938 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.708e-05/0.6987, allocations: 87.31 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6987, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002558/0.6989, allocations: 16 kB / 1.022 GB, free: 13.42 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 (2): * Single equations (assignments): 2 * 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.0003694/0.6993, allocations: 115.2 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.6996, allocations: 43.95 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6996, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.6997, allocations: 19.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.6999, allocations: 11.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.7002, allocations: 129.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.7005, allocations: 0.6811 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.7006, allocations: 7.438 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.7006, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of Templates: time 0.00243/0.703, allocations: 0.7671 MB / 1.024 GB, free: 11.59 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches