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.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.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.001338/0.001339, allocations: 110.5 kB / 16.41 MB, free: 6.5 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.001369/0.001369, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.44/2.44, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 63.91 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7359/0.7377, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002445/0.7402, allocations: 1.433 MB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0005226/0.7407, allocations: 258.5 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.7408, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.7408, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.416e-05/0.7408, allocations: 3.938 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.7412, allocations: 63.81 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.7412, allocations: 19.92 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.7413, allocations: 11.98 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.7414, allocations: 11.94 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.7414, allocations: 15.92 kB / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 8.455e-06/0.7414, allocations: 0 / 1.169 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.7416, allocations: 63.88 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.958e-06/0.7416, allocations: 3.984 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.7416, allocations: 11.94 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.7417, allocations: 44.92 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.7417, allocations: 0 / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.366e-06/0.7417, allocations: 3.984 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.7418, allocations: 0 / 1.169 GB, free: 1.93 MB / 0.8887 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.0004565/0.7422, allocations: 350.9 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7423, allocations: 12.92 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.491e-05/0.7423, allocations: 4.875 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.7424, allocations: 168.3 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.7424, allocations: 4.375 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.7425, allocations: 384 / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.7426, allocations: 54.17 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7426, allocations: 192 / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.7427, allocations: 7.938 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.7427, allocations: 3.938 kB / 1.17 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.7428, allocations: 35.95 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.7431, allocations: 241 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.7433, allocations: 38.5 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.7434, allocations: 32.83 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000689/0.7441, allocations: 457.5 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.7441, allocations: 34.56 kB / 1.171 GB, free: 268 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.7441, allocations: 4 kB / 1.171 GB, free: 264 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003221/0.7444, allocations: 81.64 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.7445, allocations: 51.41 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.7446, allocations: 97.86 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.7446, allocations: 25.7 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.7446, allocations: 80.14 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.7447, allocations: 24 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.7447, allocations: 9.719 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.7449, allocations: 314.8 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.776e-05/0.7449, allocations: 19.92 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.745, allocations: 11.98 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.7452, allocations: 44.88 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7452, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.7454, allocations: 77.55 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.7454, allocations: 4 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.7454, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7454, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.062e-05/0.7455, allocations: 8 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.7455, allocations: 8.016 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.7455, allocations: 7.938 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.7455, allocations: 192 / 1.171 GB, free: 15.35 MB / 0.9044 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 7.783e-05/0.7456, allocations: 109.8 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.7457, allocations: 7.938 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.7459, allocations: 76.75 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7459, allocations: 4.031 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.7459, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.7459, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.7461, allocations: 157.6 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7461, allocations: 4 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.7461, allocations: 7.984 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7462, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.7462, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7462, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7462, allocations: 4 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.7464, allocations: 167.4 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.7465, allocations: 89 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.7465, allocations: 0 / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.7466, allocations: 7.984 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.7466, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.7466, allocations: 4 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.7467, allocations: 91.3 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7467, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000222/0.7469, allocations: 19.94 kB / 1.172 GB, free: 14.51 MB / 0.9044 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.0001997/0.7471, allocations: 111.2 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.7473, allocations: 39.91 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.7473, allocations: 0 / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.914e-05/0.7474, allocations: 19.98 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.7476, allocations: 11.92 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.7479, allocations: 97.47 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.7482, allocations: 0.6769 MB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.793e-05/0.7482, allocations: 4 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.936e-05/0.7482, allocations: 11.44 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.7482, allocations: 0 / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.002907/0.7511, allocations: 0.6643 MB / 1.174 GB, free: 12.82 MB / 0.9044 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 -s cvode -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