Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 108 kB / 15.61 MB, free: 152 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.001099/0.001099, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.434/1.434, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 65.62 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3149, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002756/0.3177, allocations: 1.437 MB / 1.07 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006699/0.3184, allocations: 346.8 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.3184, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.939e-05/0.3184, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.215e-05/0.3185, allocations: 3.938 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.319, allocations: 99.7 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.319, allocations: 19.94 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.3191, allocations: 7.984 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.054e-05/0.3192, allocations: 15.94 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.762e-05/0.3192, allocations: 15.97 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.3192, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.3195, allocations: 119.8 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.3195, allocations: 11.92 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.3195, allocations: 7.984 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.3197, allocations: 87.75 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.3197, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3197, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3198, allocations: 0 / 1.07 GB, free: 8.277 MB / 0.8262 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.000428/0.3202, allocations: 355.7 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3202, allocations: 12.03 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.3203, allocations: 0.9375 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3204, allocations: 168.4 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3204, allocations: 4.375 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3204, allocations: 384 / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.3206, allocations: 54.17 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.3206, allocations: 192 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3206, allocations: 7.938 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3207, allocations: 0 / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.3208, allocations: 39.84 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.3211, allocations: 245 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3212, allocations: 38.5 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.3213, allocations: 24.91 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/0.322, allocations: 461.5 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.322, allocations: 34.56 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.397e-06/0.322, allocations: 3.984 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003421/0.3224, allocations: 89.48 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.3224, allocations: 51.41 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.3225, allocations: 97.86 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.3225, allocations: 25.7 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.3226, allocations: 92.25 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.3226, allocations: 3.906 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.3226, allocations: 13.72 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.3227, allocations: 314.8 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.3228, allocations: 15.98 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.3229, allocations: 15.97 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.323, allocations: 44.83 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3231, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.3233, allocations: 69.59 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3233, allocations: 4 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.3233, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3233, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.3234, allocations: 15.98 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3234, allocations: 4.031 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.3234, allocations: 8 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3235, allocations: 0 / 1.072 GB, free: 5.691 MB / 0.8262 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 6.754e-05/0.3235, allocations: 113.8 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.3236, allocations: 4 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.3238, allocations: 72.72 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3238, allocations: 4.031 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.3238, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3238, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.324, allocations: 161.6 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.324, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.3241, allocations: 7.984 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3241, allocations: 3.938 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3241, allocations: 0 / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3241, allocations: 7.938 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3241, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.3243, allocations: 171.3 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.3244, allocations: 85.05 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3244, allocations: 3.984 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.3245, allocations: 4 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.3245, allocations: 3.984 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.3245, allocations: 4.031 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.3246, allocations: 79.28 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3246, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002542/0.3248, allocations: 28 kB / 1.073 GB, free: 4.852 MB / 0.8262 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.0002321/0.3251, allocations: 139.8 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.3253, allocations: 39.95 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3253, allocations: 0 / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.191e-05/0.3254, allocations: 19.92 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.3256, allocations: 7.938 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.3259, allocations: 109.6 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.3261, allocations: 0.6768 MB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.3262, allocations: 0 / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.3262, allocations: 7.438 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3262, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of Templates: time 0.003019/0.3292, allocations: 0.8841 MB / 1.075 GB, free: 2.914 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches