Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001111/0.001111, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.187/1.187, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.202/2.202, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.98 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2652, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001601/0.2669, allocations: 0.5822 MB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000528/0.2674, allocations: 313.3 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.019e-05/0.2674, allocations: 0 / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.254e-05/0.2675, allocations: 0 / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.348e-06/0.2675, allocations: 0 / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.2679, allocations: 107.6 kB / 1.028 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.492e-05/0.2679, allocations: 0 / 1.028 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.268, allocations: 4 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.081e-05/0.268, allocations: 0 / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.496e-05/0.268, allocations: 0 / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.22e-06/0.268, allocations: 0 / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.2682, allocations: 127.8 kB / 1.028 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-06/0.2682, allocations: 4 kB / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.298e-05/0.2682, allocations: 0 / 1.028 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.2684, allocations: 75.81 kB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2684, allocations: 3.938 kB / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2684, allocations: 0 / 1.028 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.2684, allocations: 0 / 1.028 GB, free: 0.8203 MB / 0.795 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.0002488/0.2687, allocations: 332.8 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2687, allocations: 12.03 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.2687, allocations: 0.9375 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.046e-05/0.2688, allocations: 164.4 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.2688, allocations: 4.359 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-06/0.2688, allocations: 384 / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.982e-05/0.2689, allocations: 30.27 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2689, allocations: 3.938 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.2689, allocations: 4 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2689, allocations: 0 / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.712e-05/0.269, allocations: 3.938 kB / 1.028 GB, free: 192 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.2691, allocations: 149.7 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.2692, allocations: 14.58 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.2692, allocations: 8.844 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006679/0.2699, allocations: 477.5 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.2699, allocations: 30.56 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.2699, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.27, allocations: 37.7 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.27, allocations: 55.41 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.851e-05/0.2701, allocations: 97.8 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.2701, allocations: 29.69 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.107e-05/0.2701, allocations: 80.14 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.2701, allocations: 0 / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.2702, allocations: 13.72 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.2703, allocations: 310.8 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.2703, allocations: 4 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-06/0.2703, allocations: 4 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.208e-05/0.2703, allocations: 8.859 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2703, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.605e-05/0.2704, allocations: 37.62 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2704, allocations: 4 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2704, allocations: 7.875 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2704, allocations: 4 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.983e-05/0.2704, allocations: 0 / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2704, allocations: 4.094 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.988e-06/0.2705, allocations: 4 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.2705, allocations: 0 / 1.03 GB, free: 14.61 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 (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 5.607e-05/0.2705, allocations: 113.8 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-06/0.2705, allocations: 0 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.474e-05/0.2706, allocations: 44.69 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2706, allocations: 4 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.2706, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2706, allocations: 0 / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.215e-05/0.2707, allocations: 149.7 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2707, allocations: 4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.929e-06/0.2707, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2707, allocations: 3.984 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.2707, allocations: 3.938 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.2707, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2707, allocations: 0 / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.936e-05/0.2708, allocations: 53.14 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.948e-05/0.2708, allocations: 81.14 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.2709, allocations: 7.922 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.2709, allocations: 4 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.2709, allocations: 7.938 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.2709, allocations: 0 / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.2709, allocations: 75.28 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2709, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001969/0.2711, allocations: 24 kB / 1.03 GB, free: 13.94 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 (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.0002096/0.2713, allocations: 142 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.242e-05/0.2714, allocations: 7.984 kB / 1.03 GB, free: 13.79 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2714, allocations: 3.938 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.651e-06/0.2714, allocations: 4.062 kB / 1.03 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.2715, allocations: 6.969 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001301/0.2717, allocations: 76.98 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.2719, allocations: 0.6728 MB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.805e-06/0.2719, allocations: 3.938 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.122e-05/0.2719, allocations: 11.44 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2719, allocations: 0 / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of Templates: time 0.002219/0.2741, allocations: 0.6525 MB / 1.032 GB, free: 12.3 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches