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.001326/0.001326, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001529/0.001529, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003813, allocations: 12 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.809/0.8094, allocations: 153.6 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.0007493/0.8102, allocations: 317.4 kB / 1.021 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005949/0.8108, allocations: 275.3 kB / 1.021 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.077e-05/0.8109, allocations: 0 / 1.021 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.8109, allocations: 4 kB / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-06/0.8109, allocations: 0 / 1.021 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.8113, allocations: 75.78 kB / 1.021 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.975e-05/0.8113, allocations: 0 / 1.021 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.489e-05/0.8114, allocations: 0 / 1.021 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.8114, allocations: 7.938 kB / 1.021 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.263e-05/0.8114, allocations: 3.984 kB / 1.021 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.102e-06/0.8114, allocations: 0 / 1.021 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.8117, allocations: 131.8 kB / 1.022 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.771e-06/0.8117, allocations: 4 kB / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.8117, allocations: 25.7 kB / 1.022 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.8119, allocations: 47.92 kB / 1.022 GB, free: 244 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.8119, allocations: 0 / 1.022 GB, free: 244 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8119, allocations: 3.938 kB / 1.022 GB, free: 240 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.8119, allocations: 0 / 1.022 GB, free: 240 kB / 0.7637 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.0003045/0.8122, allocations: 324.8 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.8122, allocations: 11.98 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.8123, allocations: 0 / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.8124, allocations: 159.1 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.8124, allocations: 11.98 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.8124, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.8125, allocations: 33.66 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.8125, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.8126, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.8126, allocations: 0 / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.832e-05/0.8126, allocations: 3.938 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.8128, allocations: 145.7 kB / 1.022 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.765e-05/0.8128, allocations: 22.58 kB / 1.022 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009104/0.8137, allocations: 469.5 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.8138, allocations: 38.56 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.8138, allocations: 0 / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001668/0.8139, allocations: 45.59 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.814, allocations: 51.41 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.691e-05/0.8141, allocations: 89.86 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.8141, allocations: 25.7 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.8141, allocations: 80.14 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.8142, allocations: 11.83 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.8142, allocations: 4.125 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8143, allocations: 310.8 kB / 1.023 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/0.8144, allocations: 4 kB / 1.023 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-06/0.8144, allocations: 0 / 1.023 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.698e-05/0.8144, allocations: 0 / 1.023 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.8144, allocations: 0 / 1.023 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.379e-05/0.8145, allocations: 41.64 kB / 1.023 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8145, allocations: 4 kB / 1.023 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8145, allocations: 96 / 1.023 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.8145, allocations: 7.953 kB / 1.023 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.939e-05/0.8146, allocations: 7.922 kB / 1.023 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.8146, allocations: 4 kB / 1.023 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.829e-06/0.8146, allocations: 0 / 1.023 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.8146, allocations: 0 / 1.023 GB, free: 14.06 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/0.8147, allocations: 105.8 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-06/0.8147, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.8148, allocations: 36.83 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8149, allocations: 4.031 kB / 1.024 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.8149, allocations: 15.92 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8149, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.815, allocations: 141.7 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.815, allocations: 3.938 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-06/0.815, allocations: 0 / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.815, allocations: 4 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.8151, allocations: 0 / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8151, allocations: 0 / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.8151, allocations: 0 / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.205e-05/0.8152, allocations: 65.08 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.772e-05/0.8152, allocations: 81.11 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.8152, allocations: 0 / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-06/0.8152, allocations: 0 / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.8153, allocations: 0 / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.8153, allocations: 0 / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.432e-05/0.8153, allocations: 79.23 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8153, allocations: 0 / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002403/0.8156, allocations: 36.02 kB / 1.024 GB, free: 13.4 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.8159, allocations: 131.2 kB / 1.024 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.468e-05/0.816, allocations: 11.94 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.816, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.314e-06/0.816, allocations: 4 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.8161, allocations: 7.938 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.8163, allocations: 76.66 kB / 1.024 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.8167, allocations: 0.6731 MB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.941e-05/0.8167, allocations: 4 kB / 1.025 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.364e-05/0.8167, allocations: 7.438 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8167, allocations: 128 / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.002993/0.8197, allocations: 0.644 MB / 1.026 GB, free: 11.79 MB / 0.7794 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 -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","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches