Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 112.6 kB / 16.37 MB, free: 5.949 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.001151/0.001151, allocations: 199 kB / 17.31 MB, free: 5.574 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.202/1.202, 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 11.0.0-master/package.mo): time 2.242/2.242, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 56.06 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2479, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.00223/0.2502, allocations: 1.453 MB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005876/0.2508, allocations: 355.7 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.2509, allocations: 0 / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.2509, allocations: 0 / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.2509, allocations: 11.92 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.2513, allocations: 103.7 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.484e-05/0.2514, allocations: 23.92 kB / 1.029 GB, free: 128 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.2515, allocations: 7.984 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.122e-05/0.2515, allocations: 8 kB / 1.029 GB, free: 112 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.2515, allocations: 15.91 kB / 1.029 GB, free: 96 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.2516, allocations: 4 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.2518, allocations: 123.8 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.2518, allocations: 12 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.2518, allocations: 11.92 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.252, allocations: 87.8 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.252, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.636e-06/0.252, allocations: 4 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.252, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 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.0003841/0.2524, allocations: 347.5 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.2524, allocations: 12.03 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.2525, allocations: 4.844 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.74e-05/0.2526, allocations: 172.3 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.2526, allocations: 8.312 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-06/0.2526, allocations: 384 / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.2527, allocations: 50.23 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.563e-06/0.2528, allocations: 192 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2528, allocations: 3.938 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2528, allocations: 0 / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.2529, allocations: 31.97 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.2532, allocations: 249 kB / 1.03 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.2533, allocations: 42.44 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/0.2534, allocations: 20.91 kB / 1.03 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006284/0.254, allocations: 473.4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2541, allocations: 34.56 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2541, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000297/0.2544, allocations: 85.58 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2544, allocations: 51.41 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.2545, allocations: 101.8 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.2545, allocations: 25.7 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.2546, allocations: 92.05 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.2546, allocations: 3.984 kB / 1.031 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.2546, allocations: 13.84 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.2547, allocations: 314.8 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.2548, allocations: 15.98 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.2549, allocations: 11.98 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.255, allocations: 44.81 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.255, allocations: 4.062 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001692/0.2552, allocations: 81.38 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.2552, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2552, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2552, allocations: 0 / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.2553, allocations: 8 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.2553, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.2553, allocations: 8.016 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.2553, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.8106 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 5.714e-05/0.2554, allocations: 113.7 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.2554, allocations: 8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.2556, allocations: 72.77 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2556, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2556, allocations: 3.938 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2557, allocations: 4.031 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.2558, allocations: 165.6 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2558, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.2559, allocations: 7.984 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.2559, allocations: 3.938 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.2559, allocations: 0 / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2559, allocations: 4 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2559, allocations: 0 / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.2561, allocations: 167.5 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.2561, allocations: 84.95 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-06/0.2561, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.2562, allocations: 7.984 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.2562, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.2562, allocations: 0 / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.303e-05/0.2563, allocations: 87.27 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.302e-06/0.2563, allocations: 4.031 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002284/0.2565, allocations: 31.94 kB / 1.032 GB, free: 12.41 MB / 0.8106 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.0001996/0.2567, allocations: 127.2 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.2569, allocations: 47.95 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2569, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.257, allocations: 19.98 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.2572, allocations: 7.875 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002043/0.2574, allocations: 97.62 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.2576, allocations: 0.6808 MB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.687e-05/0.2576, allocations: 3.938 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.2577, allocations: 7.438 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2577, allocations: 0 / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of Templates: time 0.002688/0.2604, allocations: 0.9103 MB / 1.034 GB, free: 10.45 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches